From: Maurizio Avogadro Date: Mon, 18 Apr 2022 13:16:12 +0000 (+0200) Subject: ALSA: usb-audio: add mapping for MSI MAG X570S Torpedo MAX. X-Git-Tag: v5.15.73~2473 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4db0a8dd906761bf7f14b40a267490c476651f69;p=platform%2Fkernel%2Flinux-rpi.git ALSA: usb-audio: add mapping for MSI MAG X570S Torpedo MAX. [ Upstream commit 4ddef9c4d70aae0c9029bdec7c3f7f1c1c51ff8c ] The USB audio device 0db0:a073 based on the Realtek ALC4080 chipset exposes all playback volume controls as "PCM". This makes distinguishing the individual functions hard. The mapping already adopted for device 0db0:419c based on the same chipset fixes the issue, apply it for this device too. Signed-off-by: Maurizio Avogadro Cc: Link: https://lore.kernel.org/r/Yl1ykPaGgsFf3SnW@ryzen Signed-off-by: Takashi Iwai Signed-off-by: Sasha Levin --- diff --git a/sound/usb/mixer_maps.c b/sound/usb/mixer_maps.c index 64fdca7..997425e 100644 --- a/sound/usb/mixer_maps.c +++ b/sound/usb/mixer_maps.c @@ -586,6 +586,10 @@ static const struct usbmix_ctl_map usbmix_ctl_maps[] = { .id = USB_ID(0x0db0, 0x419c), .map = msi_mpg_x570s_carbon_max_wifi_alc4080_map, }, + { /* MSI MAG X570S Torpedo Max */ + .id = USB_ID(0x0db0, 0xa073), + .map = msi_mpg_x570s_carbon_max_wifi_alc4080_map, + }, { /* MSI TRX40 */ .id = USB_ID(0x0db0, 0x543d), .map = trx40_mobo_map,