diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-06-01 01:42:03 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-06-01 01:42:03 -0400 |
commit | f07ff97b012ff9485618faeadcc9b1e5f72ceefa (patch) | |
tree | 69972cb9ed125abe9642ba52963f8ce00b77f3ab /drivers/usb/gadget/f_audio.c | |
parent | 09414207d4daab8c4990bface3a79fdba3474bec (diff) |
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/gadget/f_audio.c')
-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 43bf44514c41..b91115f84b13 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 = { | |||
101 | static struct usb_audio_control mute_control = { | 101 | static struct usb_audio_control mute_control = { |
102 | .list = LIST_HEAD_INIT(mute_control.list), | 102 | .list = LIST_HEAD_INIT(mute_control.list), |
103 | .name = "Mute Control", | 103 | .name = "Mute Control", |
104 | .type = UAC_MUTE_CONTROL, | 104 | .type = UAC_FU_MUTE, |
105 | /* Todo: add real Mute control code */ | 105 | /* Todo: add real Mute control code */ |
106 | .set = generic_set_cmd, | 106 | .set = generic_set_cmd, |
107 | .get = generic_get_cmd, | 107 | .get = generic_get_cmd, |
@@ -110,7 +110,7 @@ static struct usb_audio_control mute_control = { | |||
110 | static struct usb_audio_control volume_control = { | 110 | static struct usb_audio_control volume_control = { |
111 | .list = LIST_HEAD_INIT(volume_control.list), | 111 | .list = LIST_HEAD_INIT(volume_control.list), |
112 | .name = "Volume Control", | 112 | .name = "Volume Control", |
113 | .type = UAC_VOLUME_CONTROL, | 113 | .type = UAC_FU_VOLUME, |
114 | /* Todo: add real Volume control code */ | 114 | /* Todo: add real Volume control code */ |
115 | .set = generic_set_cmd, | 115 | .set = generic_set_cmd, |
116 | .get = generic_get_cmd, | 116 | .get = generic_get_cmd, |