]> www.infradead.org Git - users/willy/xarray.git/commit
ALSA: usb-audio: Correct surround channels in UAC1 channel map
authorTakashi Iwai <tiwai@suse.de>
Wed, 31 Jul 2024 14:19:41 +0000 (16:19 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 31 Jul 2024 14:22:51 +0000 (16:22 +0200)
commitb7b7e1ab7619deb3b299b5e5c619c3e6f183a12d
tree1577d38e6c8fa8f479ef24eca80d03e6180de94b
parent98ea612dd1150adb61cd2a0e93875e1cc77e6b87
ALSA: usb-audio: Correct surround channels in UAC1 channel map

USB-audio driver puts SNDRV_CHMAP_SL and _SR as left and right
surround channels for UAC1 channel map, respectively.  But they should
have been SNDRV_CHMAP_RL and _RR; the current value *_SL and _SR are
rather "side" channels, not "surround".  I guess I took those
mistakenly when I read the spec mentioning "surround left".

This patch corrects those entries to be the right channels.

Suggested-by: Sylvain BERTRAND <sylvain.bertrand@legeek.net>
Closes: https://lore.kernel.orgZ/qIyJD8lhd8hFhlC@freedom
Fixes: 04324ccc75f9 ("ALSA: usb-audio: add channel map support")
Cc: <stable@vger.kernel.org>
Link: https://patch.msgid.link/20240731142018.24750-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/stream.c