]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: tegra20: i2s: Add reset control
authorDmitry Osipenko <digetx@gmail.com>
Sun, 14 Mar 2021 15:44:44 +0000 (18:44 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 18 Mar 2021 13:49:31 +0000 (13:49 +0000)
commit9c648ef82d7d4696e80b286d37dae07b67a9a32d
tree25bd6b3bfddde1787e11d57784ecfdcdf2e52ade
parenta46b78247b852345ae4458711a4aec6744a7838c
ASoC: tegra20: i2s: Add reset control

The I2S reset may be asserted at a boot time, in particular this is the
case on Tegra20 AC100 netbook. Tegra20 I2S driver doesn't manage the
reset control and currently it happens to work because reset is implicitly
deasserted by the tegra-clk driver when I2S clock is enabled. The I2S
permanently stays in a reset once tegra-clk is fixed to not touch the
resets, which it shouldn't be doing. Add reset control to the Tegra20
I2S driver.

Note that I2S reset was always specified in Tegra20 device-tree, hence
DTB ABI changes aren't required.

Tested-by: Paul Fertser <fercerpav@gmail.com> # T20 AC100
Reported-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20210314154459.15375-3-digetx@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra20_i2s.c
sound/soc/tegra/tegra20_i2s.h