浏览代码

Merge branch 'fixes' into next

Ulf Hansson 7 年之前
父节点
当前提交
8726059a67
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)
 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;
 	int fixed_drv_type = card->host->fixed_drv_type;
 
 
 	card_drv_type = card->ext_csd.raw_driver_strength |
 	card_drv_type = card->ext_csd.raw_driver_strength |