From: Philipp Zabel
Date: Wed, 19 Jul 2017 15:26:44 +0000 (+0200)
Subject: ASoC: tegra: explicitly request exclusive reset control
X-Git-Tag: v4.14-rc4~21^2~23^2~2^4~2
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=181e8ce6a6c9a25ffbf10b09d8481f134c5a79ba;p=platform%2Fkernel%2Flinux-exynos.git
ASoC: tegra: 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: Liam Girdwood
Cc: Mark Brown
Cc: Thierry Reding
Cc: Jonathan Hunter
Cc: alsa-devel@alsa-project.org
Cc: linux-tegra@vger.kernel.org
Signed-off-by: Philipp Zabel
Signed-off-by: Mark Brown
---
diff --git a/sound/soc/tegra/tegra30_ahub.c b/sound/soc/tegra/tegra30_ahub.c
index 8c10ae7..43679ae 100644
--- a/sound/soc/tegra/tegra30_ahub.c
+++ b/sound/soc/tegra/tegra30_ahub.c
@@ -544,8 +544,8 @@ static int tegra30_ahub_probe(struct platform_device *pdev)
soc_data->mod_list_mask))
continue;
- rst = reset_control_get(&pdev->dev,
- configlink_mods[i].rst_name);
+ rst = reset_control_get_exclusive(&pdev->dev,
+ configlink_mods[i].rst_name);
if (IS_ERR(rst)) {
dev_err(&pdev->dev, "Can't get reset %s\n",
configlink_mods[i].rst_name);