浏览代码

mmc: fsl_esdhc: not always setting esdhc fdt status to okay

We shouldn't always change the status to okay.  There could be
situations that the esdhc is intentionally disabled in the device
tree.

Signed-off-by: Li Yang <leoyang.li@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Yang Li 7 年之前
父节点
当前提交
590e87d1a6
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      drivers/mmc/fsl_esdhc.c

+ 0 - 2
drivers/mmc/fsl_esdhc.c

@@ -930,8 +930,6 @@ __weak int esdhc_status_fixup(void *blob, const char *compat)
 		return 1;
 	}
 #endif
-	do_fixup_by_compat(blob, compat, "status", "okay",
-			   sizeof("okay"), 1);
 	return 0;
 }