Browse Source

Merge branch 'fixes' into next

Ulf Hansson 7 years ago
parent
commit
8726059a67
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/mmc/core/mmc.c

+ 1 - 1
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 |