]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
pata_legacy: correctly mask recovery field for HT6560B
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Thu, 19 Jan 2012 16:09:56 +0000 (19:09 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Apr 2012 16:27:13 +0000 (09:27 -0700)
commitdfa5919bcc4079b0d48bb0441da8d5b144fef34f
tree00acd8aa854960e679cbd0402583e38e1b033729
parent3852bb50cf750bbdd45debfe4c72981e9141bf84
pata_legacy: correctly mask recovery field for HT6560B

commit 9716387311c790de381214c03e7f1b72b91a8189 upstream.

According to the HT6560H datasheet, the recovery timing field is 4-bit wide,
with a value of 0 meaning 16 cycles. Correct obvious thinko in the recovery
field mask.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/ata/pata_legacy.c