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)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 13 Mar 2012 16:43:13 +0000 (12:43 -0400)
commit9716387311c790de381214c03e7f1b72b91a8189
tree345952710099bb05c3ca32aa77b71bd71c0bd516
parent78140cfec503c60a178b11fbaae2fef63e9abdc0
pata_legacy: correctly mask recovery field for HT6560B

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>
Cc: stable@kernel.org
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_legacy.c