commit | 3c8cc8df5a67a539cd185026e6b6f49b576869ba | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Mon Jan 18 07:17:37 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 19 01:24:56 2010 -0800 |
tree | a2c042b8768ee08d5f99cd711698a237c6ccdebb | |
parent | 2b7d03a5cdace237525643d48918e68fe24681ed [diff] |
alim15x3: fix PIO timings calculations Just use the standard ide_timing_compute() helper to calculate PIO timings. This fixes many issues with the open-coded version like potential recovery timings underclocking or not accounting for the enhanced cycle time specified by the device. Based on libata pata_ali host driver. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>