]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/tegra: Hardcode GCAP ISS value on T234
authorMohan Kumar <mkumard@nvidia.com>
Wed, 16 Feb 2022 09:22:36 +0000 (14:52 +0530)
committerTakashi Iwai <tiwai@suse.de>
Mon, 21 Feb 2022 10:03:35 +0000 (11:03 +0100)
commit9ad51e644f5746b733a991a730b42ba8cf7b3850
tree17091a39468d7d5416a4d28d85f6a38e27c4370a
parentcb288d47e3cd4ba08d37c2f9292661c5a3b3f2eb
ALSA: hda/tegra: Hardcode GCAP ISS value on T234

The GCAP register on Tegra234 implies no Input Streams(ISS)
supported, but the HW output stream descriptor programming
should start with offset 0x20*4 from base stream descriptor
address. This will be a problem while calculating the offset
for output stream descriptor which will be considering input
stream also. So here output stream starts with offset 0 which
is wrong as HW register for output stream offset starts with 4.
So hardcode the input stream numbers to 4 to avoid the issue
in offset calculation.

Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
Link: https://lore.kernel.org/r/20220216092240.26464-3-mkumard@nvidia.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_tegra.c