summaryrefslogtreecommitdiffstats
path: root/drivers/parport
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2010-01-18 07:18:47 +0000
committerDavid S. Miller <davem@davemloft.net>2010-01-19 01:24:59 -0800
commit4d6b328943e87258efdc30110335a681f52d8367 (patch)
tree6617fc61a23f2071f1b7ca7d4ab39cc3cd19112c /drivers/parport
parent22cabc2619a58d3e5f95bb8df823da535e103bf4 (diff)
downloadlinux-4d6b328943e87258efdc30110335a681f52d8367.tar.bz2
cy82c693: 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 using 16-bit timings when 8-bit ones should be used or not accounting for the enhanced cycle time specified by the device. Based on libata pata_cypress host driver. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/parport')
0 files changed, 0 insertions, 0 deletions