]> git.karo-electronics.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:52:49 +0000 (09:52 -0700)
commitae72c6c317b0c2fd455c131b45e290b9acf6b354
tree4b0afb450017c03202d551cd39643ff517736a92
parent5cd9c9621c2c3cf16bf0a308bd87e7d7aeb78160
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