summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/imxmmc.c
diff options
context:
space:
mode:
authorGirish K S <girish.shivananjappa@linaro.org>2011-12-15 12:57:42 +0100
committerChris Ball <cjb@laptop.org>2012-01-12 05:58:45 +0100
commit913047e9e5787a90696533a9f109552b7694ecc9 (patch)
tree34391f25cb71bdd4abbaa8fe478f47dec3910b3f /drivers/mmc/host/imxmmc.c
parentmmc: sdhci-s3c: use S3C_SDHCI_CONTROL2 instead of hardcoded offset value (diff)
downloadlinux-913047e9e5787a90696533a9f109552b7694ecc9.tar.xz
linux-913047e9e5787a90696533a9f109552b7694ecc9.zip
mmc: core: Fix voltage select in DDR mode
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> Cc: <stable@kernel.org> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/imxmmc.c')
0 files changed, 0 insertions, 0 deletions