diff options
author | Tejun Heo <tj@kernel.org> | 2009-10-06 17:08:40 +0900 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2009-10-06 20:58:18 -0400 |
commit | 3b761d3d437cffcaf160a5d37eb6b3b186e491d5 (patch) | |
tree | c1f501cb350776f60eb1d4deaf206b10ed852c4e /sound/mips | |
parent | f80ae7e45a0e03da188494c6e947a5c8b0cdfb4a (diff) |
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/mips')
0 files changed, 0 insertions, 0 deletions