]> git.baikalelectronics.ru Git - kernel.git/commit
pata_hpt{37x,3x2n}: add debounce delay to cable detection methods
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 19 Nov 2009 19:31:31 +0000 (20:31 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 3 Dec 2009 07:46:35 +0000 (02:46 -0500)
commitb5bf1f9efcbc65dd430e59bce08386a75327e2b0
tree27f9feaf8ab5b255d384c5bf1734c0458a68f25d
parente20ddbb2a4283dc5f207f0bb914111b5b52cb072
pata_hpt{37x,3x2n}: add debounce delay to cable detection methods

Alan Cox reported that cable detection sometimes works unreliably
for HPT3xxN and that the issue is fixed by adding debounce delay
as used by the vendor driver.

Sergei Shtylyov also noticed that debounce delay is needed for all
HPT37x and HPT3xxN chipsets according to vendor drivers.

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