mmc: core: Collect common code for card ocr validation
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 16 Sep 2013 10:06:15 +0000 (12:06 +0200)
committerlintao <lintao@rock-chips.com>
Fri, 7 Mar 2014 09:36:24 +0000 (17:36 +0800)
commit8787949b4e216a78ec35254b2a2c91dcce2ebce7
treed6685fe73b0f0350733ad12c2d05076d4ce83695
parent431bc423a87723b495caa56bdf8d86e16e49c06d
mmc: core: Collect common code for card ocr validation

Since mmc_select_voltage now only gets called from the attach sequence,
it makes sense to move the out of spec validations of the card ocr into
this function.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/core.c
drivers/mmc/core/mmc.c
drivers/mmc/core/sd.c
drivers/mmc/core/sdio.c