Use a Schmitt trigger type device to translate the slow or noisy edges into something faster that will meet the input rise and fall specs of the following device. A true Schmitt trigger input will not have rise and fall time limitations.