From: Eldad Zack Date: Sun, 13 Jan 2013 22:02:04 +0000 (+0100) Subject: ALSA: usb-audio: selector map for M-Audio FT C400 X-Git-Tag: v3.8-rc4~8^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=39e95156b9c778de37f5bf72e50fbdbbbdfb7630;p=platform%2Fkernel%2Flinux-exynos.git ALSA: usb-audio: selector map for M-Audio FT C400 Add names of the clock sources for the M-Audio Fast Track C400. Signed-off-by: Eldad Zack Signed-off-by: Takashi Iwai --- diff --git a/sound/usb/mixer_maps.c b/sound/usb/mixer_maps.c index e71fe55..0e2ed3d 100644 --- a/sound/usb/mixer_maps.c +++ b/sound/usb/mixer_maps.c @@ -179,6 +179,15 @@ static struct usbmix_name_map audigy2nx_map[] = { { 0 } /* terminator */ }; +static struct usbmix_selector_map c400_selectors[] = { + { + .id = 0x80, + .count = 2, + .names = (const char*[]) {"Internal", "SPDIF"} + }, + { 0 } /* terminator */ +}; + static struct usbmix_selector_map audigy2nx_selectors[] = { { .id = 14, /* Capture Source */ @@ -367,6 +376,10 @@ static struct usbmix_ctl_map usbmix_ctl_maps[] = { .map = hercules_usb51_map, }, { + .id = USB_ID(0x0763, 0x2030), + .selector_map = c400_selectors, + }, + { .id = USB_ID(0x08bb, 0x2702), .map = linex_map, .ignore_ctl_error = 1,