Commit 58d65d50 authored by Baruch Siach's avatar Baruch Siach Committed by Peng Fan
Browse files

mmc: sdhci: fix chip detect gpio property name

The standard property name for chip-detect gpio is "cd-gpios". All
in-tree DT files use only this name.

Fixes: 451931ea

 ("mmc: sdhci: Read cd-gpio from devicetree")
Cc: T Karthik Reddy <>
Cc: Michal Simek <>
Signed-off-by: default avatarBaruch Siach <>
Reviewed-by: Peng Fan's avatarPeng Fan <>
parent 41a9fab8
......@@ -623,7 +623,7 @@ static int sdhci_init(struct mmc *mmc)
struct udevice *dev = mmc->dev;
gpio_request_by_name(dev, "cd-gpio", 0,
gpio_request_by_name(dev, "cd-gpios", 0,
&host->cd_gpio, GPIOD_IS_IN);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment