diff options
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r-- | drivers/ata/libata-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 24b3bd63621..3a1ec4e715e 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -2784,7 +2784,7 @@ int sata_set_spd_needed(struct ata_link *link) | |||
2784 | u32 scontrol; | 2784 | u32 scontrol; |
2785 | 2785 | ||
2786 | if (sata_scr_read(link, SCR_CONTROL, &scontrol)) | 2786 | if (sata_scr_read(link, SCR_CONTROL, &scontrol)) |
2787 | return 0; | 2787 | return 1; |
2788 | 2788 | ||
2789 | return __sata_set_spd_needed(link, &scontrol); | 2789 | return __sata_set_spd_needed(link, &scontrol); |
2790 | } | 2790 | } |