]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-esdhc-imx: no fail when no pinctrl available
authorHaibo Chen <haibo.chen@nxp.com>
Wed, 19 Feb 2020 08:22:41 +0000 (16:22 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 24 Mar 2020 13:35:41 +0000 (14:35 +0100)
commit531a9933b6648ffbb919bdb2c9e387d06c83926b
tree6117eb5a6b48b2d8f8075123a1906208825a764f
parentf914092aa374f14f8a97a0a70555909d02caa108
mmc: sdhci-esdhc-imx: no fail when no pinctrl available

When using jailhouse to support two Linux on i.MX8MQ EVK, we use the
1st Linux to configure pinctrl for the 2nd Linux. Then the 2nd Linux
could use the mmc without pinctrl driver.

So give a warning message when no pinctrl available, but no fail probe.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/1582100563-20555-3-git-send-email-haibo.chen@nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-esdhc-imx.c