diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-06-01 05:42:03 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-06-01 05:42:03 (GMT) |
commit | f07ff97b012ff9485618faeadcc9b1e5f72ceefa (patch) | |
tree | 69972cb9ed125abe9642ba52963f8ce00b77f3ab /drivers/usb | |
parent | 09414207d4daab8c4990bface3a79fdba3474bec (diff) | |
download | linux-fsl-qoriq-f07ff97b012ff9485618faeadcc9b1e5f72ceefa.tar.xz |
usb/gadget: Replace the old USB audio FU definitions in f_audio.c
The USB audio FU definitions were renewed by the commit
65f25da44b51f55e3a74301c25f29263be2bf1ba
ALSA: usb-audio: unify constants from specification
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/gadget/f_audio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/f_audio.c b/drivers/usb/gadget/f_audio.c index 43bf445..b91115f 100644 --- a/drivers/usb/gadget/f_audio.c +++ b/drivers/usb/gadget/f_audio.c @@ -101,7 +101,7 @@ static struct uac_feature_unit_descriptor_0 feature_unit_desc = { static struct usb_audio_control mute_control = { .list = LIST_HEAD_INIT(mute_control.list), .name = "Mute Control", - .type = UAC_MUTE_CONTROL, + .type = UAC_FU_MUTE, /* Todo: add real Mute control code */ .set = generic_set_cmd, .get = generic_get_cmd, @@ -110,7 +110,7 @@ static struct usb_audio_control mute_control = { static struct usb_audio_control volume_control = { .list = LIST_HEAD_INIT(volume_control.list), .name = "Volume Control", - .type = UAC_VOLUME_CONTROL, + .type = UAC_FU_VOLUME, /* Todo: add real Volume control code */ .set = generic_set_cmd, .get = generic_get_cmd, |