Patch "ALSA: usb-audio: add mapping for MSI MPG X570S Carbon Max Wifi." has been added to the 5.15-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    ALSA: usb-audio: add mapping for MSI MPG X570S Carbon Max Wifi.

to the 5.15-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     alsa-usb-audio-add-mapping-for-msi-mpg-x570s-carbon-.patch
and it can be found in the queue-5.15 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit b63fa9e91ceffba521c0fee09d1d2cbd80fbffe8
Author: Johannes Schickel <lordhoto@xxxxxxxxx>
Date:   Sat Jan 15 15:02:57 2022 +0100

    ALSA: usb-audio: add mapping for MSI MPG X570S Carbon Max Wifi.
    
    [ Upstream commit 5762f980ca10dcfe5eead7c40d1c34cae61f409b ]
    
    The USB audio device 0db0:419c based on the Realtek ALC4080 chip exposes
    all playback volume controls as "PCM". This is makes distinguishing the
    individual functions hard.
    
    The added mapping distinguishes all playback volume controls as their
    respective function:
     - Speaker              - for back panel output
     - Frontpanel Headphone - for front panel output
     - IEC958               - for digital output on the back panel
    
    This clarifies the individual volume control functions for users.
    
    Signed-off-by: Johannes Schickel <lordhoto@xxxxxxxxx>
    Link: https://lore.kernel.org/r/20220115140257.8751-1-lordhoto@xxxxxxxxx
    Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/sound/usb/mixer_maps.c b/sound/usb/mixer_maps.c
index 6ffd23f2ee65..64fdca76b40e 100644
--- a/sound/usb/mixer_maps.c
+++ b/sound/usb/mixer_maps.c
@@ -423,6 +423,14 @@ static const struct usbmix_name_map aorus_master_alc1220vb_map[] = {
 	{}
 };
 
+/* MSI MPG X570S Carbon Max Wifi with ALC4080  */
+static const struct usbmix_name_map msi_mpg_x570s_carbon_max_wifi_alc4080_map[] = {
+	{ 29, "Speaker Playback" },
+	{ 30, "Front Headphone Playback" },
+	{ 32, "IEC958 Playback" },
+	{}
+};
+
 /*
  * Control map entries
  */
@@ -574,6 +582,10 @@ static const struct usbmix_ctl_map usbmix_ctl_maps[] = {
 		.map = trx40_mobo_map,
 		.connector_map = trx40_mobo_connector_map,
 	},
+	{	/* MSI MPG X570S Carbon Max Wifi */
+		.id = USB_ID(0x0db0, 0x419c),
+		.map = msi_mpg_x570s_carbon_max_wifi_alc4080_map,
+	},
 	{	/* MSI TRX40 */
 		.id = USB_ID(0x0db0, 0x543d),
 		.map = trx40_mobo_map,



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux