mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
ALSA: usb-audio: Rename ALSA kcontrol PCM and PCM1 for the KTMicro sound card
PCM1 not in Pulseaudio's control list; standardize control to "Speaker" and "Headphone". Signed-off-by: wangdicheng <wangdicheng@kylinos.cn> Cc: <stable@vger.kernel.org> Link: https://patch.msgid.link/20250613063636.239683-1-wangdich9700@163.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
4c267ae2ef
commit
93adf20ff4
1 changed files with 12 additions and 0 deletions
|
@ -383,6 +383,13 @@ static const struct usbmix_name_map ms_usb_link_map[] = {
|
|||
{ 0 } /* terminator */
|
||||
};
|
||||
|
||||
/* KTMicro USB */
|
||||
static struct usbmix_name_map s31b2_0022_map[] = {
|
||||
{ 23, "Speaker Playback" },
|
||||
{ 18, "Headphone Playback" },
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
/* ASUS ROG Zenith II with Realtek ALC1220-VB */
|
||||
static const struct usbmix_name_map asus_zenith_ii_map[] = {
|
||||
{ 19, NULL, 12 }, /* FU, Input Gain Pad - broken response, disabled */
|
||||
|
@ -692,6 +699,11 @@ static const struct usbmix_ctl_map usbmix_ctl_maps[] = {
|
|||
.id = USB_ID(0x045e, 0x083c),
|
||||
.map = ms_usb_link_map,
|
||||
},
|
||||
{
|
||||
/* KTMicro USB */
|
||||
.id = USB_ID(0X31b2, 0x0022),
|
||||
.map = s31b2_0022_map,
|
||||
},
|
||||
{ 0 } /* terminator */
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue