hpt366: add debounce delay to cable_detect() method
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Mon, 27 Sep 2010 18:00:40 +0000 (11:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Oct 2010 17:17:29 +0000 (10:17 -0700)
commit5d3f1a493e19f34ba427936b76f0b5624a2fc62a
treeef5dc2f973f4b8ed5450c7be1a748a51d28394bc
parentb18cae4224bde7e5a332c19bc99247b2098ea232
hpt366: add debounce delay to cable_detect() method

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 drivers.

While at it, get rid of unneeded parens/space in the vicinity...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/hpt366.c