Skip to content

Commit

Permalink
ALSA: usb-audio: Rename Fast Track Ultra mixer quirk functions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Felix Homann authored and Takashi Iwai committed Apr 24, 2012
1 parent 25ee7ef commit cfe8f97
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sound/usb/mixer_quirks.c
Original file line number Diff line number Diff line change
Expand Up @@ -575,8 +575,8 @@ static int snd_nativeinstruments_create_mixer(struct usb_mixer_interface *mixer,

/* M-Audio FastTrack Ultra quirks */

/* Create a volume control for FTU devices*/
static int snd_maudio_ftu_create_volume_ctls(struct usb_mixer_interface *mixer)
/* Create volume controls for FTU devices*/
static int snd_ftu_create_volume_ctls(struct usb_mixer_interface *mixer)
{
char name[64];
unsigned int control, cmask;
Expand Down Expand Up @@ -614,11 +614,11 @@ static int snd_maudio_ftu_create_volume_ctls(struct usb_mixer_interface *mixer)
return 0;
}

static int snd_maudio_ftu_create_mixer(struct usb_mixer_interface *mixer)
static int snd_ftu_create_mixer(struct usb_mixer_interface *mixer)
{
int err;

err = snd_maudio_ftu_create_volume_ctls(mixer);
err = snd_ftu_create_volume_ctls(mixer);
if (err < 0)
return err;

Expand Down Expand Up @@ -703,7 +703,7 @@ int snd_usb_mixer_apply_create_quirk(struct usb_mixer_interface *mixer)

case USB_ID(0x0763, 0x2080): /* M-Audio Fast Track Ultra */
case USB_ID(0x0763, 0x2081): /* M-Audio Fast Track Ultra 8R */
err = snd_maudio_ftu_create_mixer(mixer);
err = snd_ftu_create_mixer(mixer);
break;

case USB_ID(0x0b05, 0x1739):
Expand Down

0 comments on commit cfe8f97

Please sign in to comment.