diff options
| author | Qiang Liu <qiang.liu@freescale.com> | 2011-11-08 08:43:08 -0500 | 
|---|---|---|
| committer | Chris Ball <cjb@laptop.org> | 2012-01-11 23:58:40 -0500 | 
| commit | fffe5d5aa05b4e69f79bc75a51c5ee0fc6203fa5 (patch) | |
| tree | 14dc8ca78f108faf20057a8853df216701621ad6 /drivers/mmc/core | |
| parent | 8d362b0dea1a35bea8d7d281317eb7ccb713edcb (diff) | |
| download | olio-linux-3.10-fffe5d5aa05b4e69f79bc75a51c5ee0fc6203fa5.tar.xz olio-linux-3.10-fffe5d5aa05b4e69f79bc75a51c5ee0fc6203fa5.zip  | |
mmc: sd: Macro name cleanup for high speed dtr
Add new macros for the high speed 50MHz case, rather than having
a confusing reuse of the value for UHS SDR50, which is 100MHz.
Reported-by: Aaron Lu <aaron.lu@amd.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/core')
| -rw-r--r-- | drivers/mmc/core/sd.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/core/sd.c b/drivers/mmc/core/sd.c index f2a05ea40f2..f54392c4638 100644 --- a/drivers/mmc/core/sd.c +++ b/drivers/mmc/core/sd.c @@ -307,8 +307,8 @@ static int mmc_read_switch(struct mmc_card *card)  		goto out;  	} -	if (status[13] & UHS_SDR50_BUS_SPEED) -		card->sw_caps.hs_max_dtr = 50000000; +	if (status[13] & SD_MODE_HIGH_SPEED) +		card->sw_caps.hs_max_dtr = HIGH_SPEED_MAX_DTR;  	if (card->scr.sda_spec3) {  		card->sw_caps.sd3_bus_mode = status[13];  |