aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/mixer_quirks.c
diff options
context:
space:
mode:
authorFelix Homann <linuxaudio@showlabor.de>2012-04-23 14:24:26 -0400
committerTakashi Iwai <tiwai@suse.de>2012-04-24 02:02:11 -0400
commitcfe8f97c8243cec6614524779424f2de9c335c5c (patch)
treec93ecf312e15d3701867c973884a81d05d9dbef2 /sound/usb/mixer_quirks.c
parent25ee7ef8faa24024197056ba49a502597b02c0c5 (diff)
ALSA: usb-audio: Rename Fast Track Ultra mixer quirk functions
This is in preparation for more FTU controls to come. Should help keeping names a bit shorter. Signed-off-by: Felix Homann <linuxaudio@showlabor.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/mixer_quirks.c')
-rw-r--r--sound/usb/mixer_quirks.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/usb/mixer_quirks.c b/sound/usb/mixer_quirks.c
index 045a0d9ff8a2..6671e64a7630 100644
--- a/sound/usb/mixer_quirks.c
+++ b/sound/usb/mixer_quirks.c
@@ -575,8 +575,8 @@ static int snd_nativeinstruments_create_mixer(struct usb_mixer_interface *mixer,
575 575
576/* M-Audio FastTrack Ultra quirks */ 576/* M-Audio FastTrack Ultra quirks */
577 577
578/* Create a volume control for FTU devices*/ 578/* Create volume controls for FTU devices*/
579static int snd_maudio_ftu_create_volume_ctls(struct usb_mixer_interface *mixer) 579static int snd_ftu_create_volume_ctls(struct usb_mixer_interface *mixer)
580{ 580{
581 char name[64]; 581 char name[64];
582 unsigned int control, cmask; 582 unsigned int control, cmask;
@@ -614,11 +614,11 @@ static int snd_maudio_ftu_create_volume_ctls(struct usb_mixer_interface *mixer)
614 return 0; 614 return 0;
615} 615}
616 616
617static int snd_maudio_ftu_create_mixer(struct usb_mixer_interface *mixer) 617static int snd_ftu_create_mixer(struct usb_mixer_interface *mixer)
618{ 618{
619 int err; 619 int err;
620 620
621 err = snd_maudio_ftu_create_volume_ctls(mixer); 621 err = snd_ftu_create_volume_ctls(mixer);
622 if (err < 0) 622 if (err < 0)
623 return err; 623 return err;
624 624
@@ -703,7 +703,7 @@ int snd_usb_mixer_apply_create_quirk(struct usb_mixer_interface *mixer)
703 703
704 case USB_ID(0x0763, 0x2080): /* M-Audio Fast Track Ultra */ 704 case USB_ID(0x0763, 0x2080): /* M-Audio Fast Track Ultra */
705 case USB_ID(0x0763, 0x2081): /* M-Audio Fast Track Ultra 8R */ 705 case USB_ID(0x0763, 0x2081): /* M-Audio Fast Track Ultra 8R */
706 err = snd_maudio_ftu_create_mixer(mixer); 706 err = snd_ftu_create_mixer(mixer);
707 break; 707 break;
708 708
709 case USB_ID(0x0b05, 0x1739): 709 case USB_ID(0x0b05, 0x1739):