mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
sata_mv: always do softreset
Always request a softreset after hardreset succeeds. This fixes a regression reported by Martin Michlmayr <tbm@cyrius.com>. Signed-off-by: Mark Lord <mlord@pobox.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
parent
68b90ee7c8
commit
9dcffd99d0
1 changed files with 1 additions and 0 deletions
|
@ -2728,6 +2728,7 @@ static int mv_hardreset(struct ata_link *link, unsigned int *class,
|
|||
|
||||
rc = sata_link_hardreset(link, timing, deadline + extra,
|
||||
&online, NULL);
|
||||
rc = online ? -EAGAIN : rc;
|
||||
if (rc)
|
||||
return rc;
|
||||
sata_scr_read(link, SCR_STATUS, &sstatus);
|
||||
|
|
Loading…
Reference in a new issue