diff options
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r-- | drivers/ata/libata-core.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index c8d44a7c403f..ac3d1204ea35 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -3346,6 +3346,8 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = { | |||
3346 | /* Devices where NCQ should be avoided */ | 3346 | /* Devices where NCQ should be avoided */ |
3347 | /* NCQ is slow */ | 3347 | /* NCQ is slow */ |
3348 | { "WDC WD740ADFD-00", NULL, ATA_HORKAGE_NONCQ }, | 3348 | { "WDC WD740ADFD-00", NULL, ATA_HORKAGE_NONCQ }, |
3349 | /* http://thread.gmane.org/gmane.linux.ide/14907 */ | ||
3350 | { "FUJITSU MHT2060BH", NULL, ATA_HORKAGE_NONCQ }, | ||
3349 | 3351 | ||
3350 | /* Devices with NCQ limits */ | 3352 | /* Devices with NCQ limits */ |
3351 | 3353 | ||
@@ -5680,6 +5682,8 @@ static void ata_host_release(struct device *gendev, void *res) | |||
5680 | 5682 | ||
5681 | if (host->ops->host_stop) | 5683 | if (host->ops->host_stop) |
5682 | host->ops->host_stop(host); | 5684 | host->ops->host_stop(host); |
5685 | |||
5686 | dev_set_drvdata(gendev, NULL); | ||
5683 | } | 5687 | } |
5684 | 5688 | ||
5685 | /** | 5689 | /** |
@@ -5902,7 +5906,6 @@ int ata_device_add(const struct ata_probe_ent *ent) | |||
5902 | 5906 | ||
5903 | err_out: | 5907 | err_out: |
5904 | devres_release_group(dev, ata_device_add); | 5908 | devres_release_group(dev, ata_device_add); |
5905 | dev_set_drvdata(dev, NULL); | ||
5906 | VPRINTK("EXIT, returning %d\n", rc); | 5909 | VPRINTK("EXIT, returning %d\n", rc); |
5907 | return 0; | 5910 | return 0; |
5908 | } | 5911 | } |