aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2017-12-11 13:19:35 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2017-12-11 13:19:35 +0100
commit8726059a671a645d6e8079a1adc8c63f958f88ce (patch)
treecd572cde6732bc3701bac3986ba152bb51cc26c5 /drivers/mmc/core
parent0acccf4141a1ac37edab8ed905e97bf7c4be3bce (diff)
parentbe17f1ce8572d6e15559897421fb7041360bb64a (diff)
Merge branch 'fixes' into next
Diffstat (limited to 'drivers/mmc/core')
-rw-r--r--drivers/mmc/core/mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
index d209fb466979..208a762b87ef 100644
--- a/drivers/mmc/core/mmc.c
+++ b/drivers/mmc/core/mmc.c
@@ -1290,7 +1290,7 @@ out_err:
static void mmc_select_driver_type(struct mmc_card *card)
{
- int card_drv_type, drive_strength, drv_type;
+ int card_drv_type, drive_strength, drv_type = 0;
int fixed_drv_type = card->host->fixed_drv_type;
card_drv_type = card->ext_csd.raw_driver_strength |

Privacy Policy