diff options
| author | Olof Johansson <olof@lixom.net> | 2013-01-27 22:07:11 -0800 | 
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2013-01-27 22:07:20 -0800 | 
| commit | 6b914c998787d65022e80d6262dfd0edef58cadb (patch) | |
| tree | ec9d9605ae08e6e40664c4302a181979ab4fe1d3 /drivers/ata/libahci.c | |
| parent | 1f87a404d02a96519284e1928445ca5cfe9667db (diff) | |
| parent | 949db153b6466c6f7cad5a427ecea94985927311 (diff) | |
| download | olio-linux-3.10-6b914c998787d65022e80d6262dfd0edef58cadb.tar.xz olio-linux-3.10-6b914c998787d65022e80d6262dfd0edef58cadb.zip  | |
Merge tag 'v3.8-rc5' into next/cleanup
Linux 3.8-rc5
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/ata/libahci.c')
| -rw-r--r-- | drivers/ata/libahci.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c index 320712a7b9e..6cd7805e47c 100644 --- a/drivers/ata/libahci.c +++ b/drivers/ata/libahci.c @@ -1951,13 +1951,13 @@ static void ahci_set_aggressive_devslp(struct ata_port *ap, bool sleep)  	/* Use the nominal value 10 ms if the read MDAT is zero,  	 * the nominal value of DETO is 20 ms.  	 */ -	if (dev->sata_settings[ATA_LOG_DEVSLP_VALID] & +	if (dev->devslp_timing[ATA_LOG_DEVSLP_VALID] &  	    ATA_LOG_DEVSLP_VALID_MASK) { -		mdat = dev->sata_settings[ATA_LOG_DEVSLP_MDAT] & +		mdat = dev->devslp_timing[ATA_LOG_DEVSLP_MDAT] &  		       ATA_LOG_DEVSLP_MDAT_MASK;  		if (!mdat)  			mdat = 10; -		deto = dev->sata_settings[ATA_LOG_DEVSLP_DETO]; +		deto = dev->devslp_timing[ATA_LOG_DEVSLP_DETO];  		if (!deto)  			deto = 20;  	} else {  |