pata_cypress: fix PIO timings underclocking
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 18 Jan 2010 17:15:47 +0000 (18:15 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 1 Mar 2010 19:58:45 +0000 (14:58 -0500)
commit3403c24529ddfb4a47f5cfe8496370997f1b0758
treece9a7a889d03f34a747902b308d2f61a059e4944
parent8ebf473860e8166e3d4f152a02e22b9cdddcd440
pata_cypress: fix PIO timings underclocking

Timing registers should be programmed with the desired number of clocks
minus one clock.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_cypress.c