summaryrefslogtreecommitdiffstats
path: root/sound/soc/tegra/tegra20_ac97.h
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2021-03-14 18:44:43 +0300
committerMark Brown <broonie@kernel.org>2021-03-18 13:49:30 +0000
commita46b78247b852345ae4458711a4aec6744a7838c (patch)
tree265ac1338f1eb49764e0f9dd7efe45e95cd4ec9b /sound/soc/tegra/tegra20_ac97.h
parenta38fd8748464831584a19438cbb3082b5a2dab15 (diff)
downloadlinux-a46b78247b852345ae4458711a4aec6744a7838c.tar.bz2
ASoC: tegra20: ac97: Add reset control
Tegra20 AC97 driver doesn't manage the AC97 controller reset, relying on implicit deassertion of the reset by tegra-clk driver, which needs to be fixed since this behaviour is unacceptable by other Tegra drivers. Add explicit reset control to the Tegra20 AC97 driver. Note that AC97 reset was always specified in Tegra20 device-tree, hence DTB ABI changes aren't required. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Link: https://lore.kernel.org/r/20210314154459.15375-2-digetx@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/tegra/tegra20_ac97.h')
-rw-r--r--sound/soc/tegra/tegra20_ac97.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/tegra/tegra20_ac97.h b/sound/soc/tegra/tegra20_ac97.h
index e467cd1ff2ca..870ea09ff301 100644
--- a/sound/soc/tegra/tegra20_ac97.h
+++ b/sound/soc/tegra/tegra20_ac97.h
@@ -78,6 +78,7 @@ struct tegra20_ac97 {
struct clk *clk_ac97;
struct snd_dmaengine_dai_dma_data capture_dma_data;
struct snd_dmaengine_dai_dma_data playback_dma_data;
+ struct reset_control *reset;
struct regmap *regmap;
int reset_gpio;
int sync_gpio;