diff options
author | Tejun Heo <tj@kernel.org> | 2009-10-06 10:08:40 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2009-10-07 02:58:18 +0200 |
commit | 3b761d3d437cffcaf160a5d37eb6b3b186e491d5 (patch) | |
tree | c1f501cb350776f60eb1d4deaf206b10ed852c4e /sound/pci/cs5535audio | |
parent | ahci: filter FPDMA non-zero offset enable for Aspire 3810T (diff) | |
download | linux-3b761d3d437cffcaf160a5d37eb6b3b186e491d5.tar.xz linux-3b761d3d437cffcaf160a5d37eb6b3b186e491d5.zip |
libata: fix incorrect link online check during probe
While trying to work around spurious detection retries for
non-existent devices on slave links, commit
816ab89782ac139a8b65147cca990822bb7e8675 incorrectly added link
offline check logic before ata_eh_thaw() was called. This means that
if an occupied link goes down briefly at the time that offline check
was performed, device class will be cleared to ATA_DEV_NONE and libata
wouldn't retry thus failing detection of the device.
The offline check should be done after the port is thawed together
with online check so that such link glitches can be detected by the
interrupt handler and handled properly.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Tim Blechmann <tim@klingt.org>
Cc: stable@kernel.org
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'sound/pci/cs5535audio')
0 files changed, 0 insertions, 0 deletions