Messages in this thread Patch in this message | | | From | Irina Tirdea <> | Subject | [PATCH 12/26] mmc: panic write: bypass regulators | Date | Tue, 23 Oct 2012 16:48:10 +0300 |
| |
From: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Irina Tirdea <irina.tirdea@intel.com> --- drivers/mmc/core/core.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index f7552af..d3caa7e 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -1128,6 +1128,9 @@ int mmc_regulator_set_ocr(struct mmc_host *mmc, int result = 0; int min_uV, max_uV; + if (mmc_am_panic_task(mmc)) + return 0; + if (vdd_bit) { int tmp; int voltage; -- 1.7.9.5
| |