commit | 4f701d1e9a796a3d6657e1129bee0566d7cda916 | [log] [tgz] |
---|---|---|
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | Mon Apr 23 11:55:36 2007 +0100 |
committer | Jeff Garzik <jeff@garzik.org> | Sat Apr 28 14:51:33 2007 -0400 |
tree | ac2b13b4fc37bcc29ada2f46fde1e2cd2d734052 | |
parent | c1c4e8d55757f8aec5f95eb80860e340d717c217 [diff] |
ata_timing: ensure t->cycle is always correct Russell King hit a case where quantisation errors accumulated such that the cycle time was shorter than rather than equal to the active/recovery time. The code already knows how to stretch times to fit the cycle time but does not know about the reverse. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>