From: Philipp Zabel Date: Wed, 19 Jul 2017 15:25:43 +0000 (+0200) Subject: mmc: sdhci-st: explicitly request exclusive reset control X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=926bbbc331eb100aaeb4733a84be69dbaf9e8ed0;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git mmc: sdhci-st: explicitly request exclusive reset control Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting reset lines") started to transition the reset control request API calls to explicitly state whether the driver needs exclusive or shared reset control behavior. Convert all drivers requesting exclusive resets to the explicit API call so the temporary transition helpers can be removed. No functional changes. Cc: Patrice Chotard Cc: Adrian Hunter Cc: Ulf Hansson Cc: linux-mmc@vger.kernel.org Signed-off-by: Philipp Zabel Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/host/sdhci-st.c b/drivers/mmc/host/sdhci-st.c index 198b4cad5e84..c32daed0d418 100644 --- a/drivers/mmc/host/sdhci-st.c +++ b/drivers/mmc/host/sdhci-st.c @@ -371,7 +371,7 @@ static int sdhci_st_probe(struct platform_device *pdev) if (IS_ERR(icnclk)) icnclk = NULL; - rstc = devm_reset_control_get(&pdev->dev, NULL); + rstc = devm_reset_control_get_exclusive(&pdev->dev, NULL); if (IS_ERR(rstc)) rstc = NULL; else