summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorAndrea Fagiani <andfagiani@gmail.com>2021-01-19 08:47:44 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-09 11:11:10 +0100
commit4330e7a8bf01f6361f2c6d7fa34ddf0e108a188b (patch)
tree64c489a48d625d186c78106941361b3e544a815e /sound
parent5c947a8a6f05509d08d2e6402d36e2544fb1af2d (diff)
downloadlinux-stable-4330e7a8bf01f6361f2c6d7fa34ddf0e108a188b.tar.gz
linux-stable-4330e7a8bf01f6361f2c6d7fa34ddf0e108a188b.tar.bz2
linux-stable-4330e7a8bf01f6361f2c6d7fa34ddf0e108a188b.zip
ALSA: usb-audio: use Corsair Virtuoso mapping for Corsair Virtuoso SE
commit 11302bb69e72d0526bc626ee5c451a3d22cde904 upstream. The Corsair Virtuoso SE RGB Wireless is a USB headset with a mic and a sidetone feature. Assign the Corsair Virtuoso name map to the SE product ids as well, in order to label its mixer appropriately and allow userspace to pick the correct volume controls. Signed-off-by: Andrea Fagiani <andfagiani@gmail.com> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/40bbdf55-f854-e2ee-87b4-183e6451352c@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/usb/mixer_maps.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sound/usb/mixer_maps.c b/sound/usb/mixer_maps.c
index a7212f16660e..646deb6244b1 100644
--- a/sound/usb/mixer_maps.c
+++ b/sound/usb/mixer_maps.c
@@ -537,6 +537,16 @@ static const struct usbmix_ctl_map usbmix_ctl_maps[] = {
.map = bose_companion5_map,
},
{
+ /* Corsair Virtuoso SE (wired mode) */
+ .id = USB_ID(0x1b1c, 0x0a3d),
+ .map = corsair_virtuoso_map,
+ },
+ {
+ /* Corsair Virtuoso SE (wireless mode) */
+ .id = USB_ID(0x1b1c, 0x0a3e),
+ .map = corsair_virtuoso_map,
+ },
+ {
/* Corsair Virtuoso (wired mode) */
.id = USB_ID(0x1b1c, 0x0a41),
.map = corsair_virtuoso_map,