]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tegra: ahub: Add missing resets
authorDmitry Osipenko <digetx@gmail.com>
Wed, 20 Jan 2021 00:31:52 +0000 (03:31 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 25 Jan 2021 17:17:53 +0000 (17:17 +0000)
commitfd6b68a1408c729205626181d5d57b6888706d58
tree66a2a475c598ef866c515dd354c4c3c17b1b633a
parent6cdee81b0f803f78cbfeeb56feac7771e3b3e660
ASoC: tegra: ahub: Add missing resets

AHUB driver misses D_AUDIO and APBIF resets. CPU hangs on trying to
access hardware if resets aren't de-asserted. This problem is currently
masked by the tegra-clk driver which implicitly de-asserts the resets when
the corresponding clocks are enabled. Soon the implicit de-assertion will
be gone from the tegra-clk driver, thus we need to fix the AHUB driver.
Add the missing resets to the driver.

Tested-by: Peter Geis <pgwipeout@gmail.com> # Ouya T30 audio works
Tested-by: Matt Merhar <mattmerhar@protonmail.com> # Ouya T30 boot-tested
Tested-by: Dmitry Osipenko <digetx@gmail.com> # Nexus7 T30 audio works
Tested-by: Nicolas Chauvet <kwizart@gmail.com> # TK1 boot-tested
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20210120003154.26749-5-digetx@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra30_ahub.c