From: Girish K S Date: Thu, 15 Dec 2011 11:57:42 +0000 (+0530) Subject: mmc: core: Fix voltage select in DDR mode X-Git-Tag: v3.3-rc1~72^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=913047e9e5787a90696533a9f109552b7694ecc9;p=pandora-kernel.git 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 Acked-by: Subhash Jadavani Acked-by: Philip Rakity Cc: Signed-off-by: Chris Ball --- Reading git-diff-tree failed