ASoC: tegra: explicitly request exclusive reset control
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 19 Jul 2017 15:26:44 +0000 (17:26 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 19 Jul 2017 16:07:39 +0000 (17:07 +0100)
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 <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Jonathan Hunter <jonathanh@nvidia.com>
Cc: alsa-devel@alsa-project.org
Cc: linux-tegra@vger.kernel.org
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra30_ahub.c

index 8c10ae7982bad992cc94f60db565ee3791f7bc3a..43679aeeb12beadc948d23bc59a174a72b50ecac 100644 (file)
@@ -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);