From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peng Fan Date: Wed, 24 Jul 2019 02:28:52 +0000 Subject: [U-Boot] [PATCH] mmc: sdhci: fix chip detect gpio property name In-Reply-To: References: Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > Subject: [PATCH] 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: 451931ea700 ("mmc: sdhci: Read cd-gpio from devicetree") > Cc: T Karthik Reddy > Cc: Michal Simek > Signed-off-by: Baruch Siach > --- > drivers/mmc/sdhci.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index > 0a0770cc2035..2779bca93f08 100644 > --- a/drivers/mmc/sdhci.c > +++ b/drivers/mmc/sdhci.c > @@ -623,7 +623,7 @@ static int sdhci_init(struct mmc *mmc) #if > CONFIG_IS_ENABLED(DM_MMC) && CONFIG_IS_ENABLED(DM_GPIO) > 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); Applied to mmc/master. Thanks, Peng > #endif > > -- > 2.20.1