aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ata/libata-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 7d786fba4d82..0ac0b519cf2d 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -2745,7 +2745,7 @@ int sata_std_hardreset(struct ata_port *ap, unsigned int *class)
2745 if ((rc = sata_scr_read(ap, SCR_CONTROL, &scontrol))) 2745 if ((rc = sata_scr_read(ap, SCR_CONTROL, &scontrol)))
2746 return rc; 2746 return rc;
2747 2747
2748 scontrol = (scontrol & 0x0f0) | 0x302; 2748 scontrol = (scontrol & 0x0f0) | 0x304;
2749 2749
2750 if ((rc = sata_scr_write(ap, SCR_CONTROL, scontrol))) 2750 if ((rc = sata_scr_write(ap, SCR_CONTROL, scontrol)))
2751 return rc; 2751 return rc;