Re: [PATCH v3 2/6] ALSA: hda/tegra: Reset hardware
From: Dmitry Osipenko <digetx@gmail.com>
Date: 2021-01-26 07:06:43
Also in:
alsa-devel, lkml
From: Dmitry Osipenko <digetx@gmail.com>
Date: 2021-01-26 07:06:43
Also in:
alsa-devel, lkml
25.01.2021 18:18, Takashi Iwai пишет:
On Wed, 20 Jan 2021 01:31:50 +0100, Dmitry Osipenko wrote:quoted
Reset hardware on RPM-resume in order to bring it into a predictable state. Tested-by: Peter Geis <redacted> # Ouya T30 audio works Tested-by: Matt Merhar <redacted> # Ouya T30 boot-tested Tested-by: Nicolas Chauvet <redacted> # TK1 boot-tested Signed-off-by: Dmitry Osipenko <digetx@gmail.com>Currently we have neither dependency nor reverse-selection of CONFIG_RESET_CONTROLLER. It wouldn't be a problem for builds, but you'll get a runtime error from devm_reset_control_array_get_exclusive() always when CONFIG_RESET_CONTROLLER=n. I guess it must be a corner case, but just to be sure.
The CONFIG_RESET_CONTROLLER=y at least for ARM32 Tegra builds. https://elixir.bootlin.com/linux/v5.11-rc5/source/arch/arm/mach-tegra/Kconfig#L15 Not sure about ARM64.