]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: Fix 2 channel swapping for Tegra
authorMohan Kumar <mkumard@nvidia.com>
Tue, 25 Aug 2020 05:24:14 +0000 (10:54 +0530)
committerTakashi Iwai <tiwai@suse.de>
Tue, 25 Aug 2020 07:32:06 +0000 (09:32 +0200)
commit093d371b5b515077df8df4af971c261a17f454cd
treedbd1b34fee164105081a01a4a8ca3fbeec27ec37
parent9ba573e83463d720ee1b7bf09750274a1105f512
ALSA: hda: Fix 2 channel swapping for Tegra

The Tegra HDA codec HW implementation has an issue related to not
swapping the 2 channel Audio Sample Packet(ASP) channel mapping.
Whatever the FL and FR mapping specified the left channel always
comes out of left speaker and right channel on right speaker. So
add condition to disallow the swapping of FL,FR during the playback.

Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
Acked-by: Sameer Pujar <spujar@nvidia.com>
Link: https://lore.kernel.org/r/20200825052415.20626-2-mkumard@nvidia.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c