]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/tegra: Fix Tegra194 HDA reset failure
authorSameer Pujar <spujar@nvidia.com>
Thu, 23 Dec 2021 11:53:49 +0000 (17:23 +0530)
committerTakashi Iwai <tiwai@suse.de>
Sat, 1 Jan 2022 15:46:15 +0000 (16:46 +0100)
commit8750221c28b923512fafc36523e8fff1b30355dc
tree9f058322cacb33d2c649be35a685681fd368eb09
parent2e05d506be03efcc344b4483d75710da86f92e38
ALSA: hda/tegra: Fix Tegra194 HDA reset failure

HDA regression is recently reported on Tegra194 based platforms.
This happens because "hda2codec_2x" reset does not really exist
in Tegra194 and it causes probe failure. All the HDA based audio
tests fail at the moment. This underlying issue is exposed by
commit a329390f656d ("reset: tegra-bpmp: Handle errors in BPMP
response") which now checks return code of BPMP command response.
Fix this issue by skipping unavailable reset on Tegra194.

Cc: stable@vger.kernel.org
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/1640260431-11613-2-git-send-email-spujar@nvidia.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_tegra.c