]> 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)
commitdb8f633d7fe319ef8341293d14e4fc7cd67e8f00
tree9f058322cacb33d2c649be35a685681fd368eb09
parentca723b122c6be0405bd8293ec89c3bacf2518b65
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 06ec15eb8463 ("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