]> Git Repo - linux.git/commit
mmc: mxcmmc: fix the default value for available voltages into mxcmci_probe
authorMatteo Facchinetti <[email protected]>
Wed, 8 Oct 2014 14:24:33 +0000 (16:24 +0200)
committerUlf Hansson <[email protected]>
Mon, 10 Nov 2014 11:40:25 +0000 (12:40 +0100)
commit18a098063592e4341bfb904ae9f4e41c08c74a63
tree35f5d4a446721691e2ec78dcae76daba15fa1a73
parentadfa57033d73dfc3449f3a9a2fe5450673b5aef3
mmc: mxcmmc: fix the default value for available voltages into mxcmci_probe

If available voltages are not given, mmc_regulator_get_supply() function
returns 0 and mxcmmc driver doesn't set a value for ocr_avail mask.

In accordance with the comment in platform_data/mmc-mxcmmc.h,
fix it, assuming MMC_VDD_32_33 | MMC_VDD_33_34 as default value.

Signed-off-by: Matteo Facchinetti <[email protected]>
Reviewed-by: Sascha Hauer <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
drivers/mmc/host/mxcmmc.c
This page took 0.05669 seconds and 4 git commands to generate.