aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/imxmmc.c
diff options
context:
space:
mode:
authorGirish K S <girish.shivananjappa@linaro.org>2011-12-15 17:27:42 +0530
committerGreg Kroah-Hartman <gregkh@suse.de>2012-01-25 17:24:45 -0800
commit1cfbbb9ba574157c9f2312d3267762fdde0bfc59 (patch)
tree4ad35db7004c8c19c12ebc70da9b29b131f7342f /drivers/mmc/host/imxmmc.c
parentfcf53a1ed4225c1f23997ef02f2770a39e73c515 (diff)
downloadkernel_samsung_aries-1cfbbb9ba574157c9f2312d3267762fdde0bfc59.zip
kernel_samsung_aries-1cfbbb9ba574157c9f2312d3267762fdde0bfc59.tar.gz
kernel_samsung_aries-1cfbbb9ba574157c9f2312d3267762fdde0bfc59.tar.bz2
mmc: core: Fix voltage select in DDR mode
commit 913047e9e5787a90696533a9f109552b7694ecc9 upstream. This patch fixes the wrong comparison before setting the interface voltage in DDR mode. The assignment to the variable ddr before comaprison is either ddr = MMC_1_2V_DDR_MODE; or ddr == MMC_1_8V_DDR_MODE. But the comparison is done with the extended csd value if ddr == EXT_CSD_CARD_TYPE_DDR_1_2V. Signed-off-by: Girish K S <girish.shivananjappa@linaro.org> Acked-by: Subhash Jadavani <subhashj@codeaurora.org> Acked-by: Philip Rakity <prakity@marvell.com> Signed-off-by: Chris Ball <cjb@laptop.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/mmc/host/imxmmc.c')
0 files changed, 0 insertions, 0 deletions