Commit f07ff97b authored by Takashi Iwai's avatar Takashi Iwai

usb/gadget: Replace the old USB audio FU definitions in f_audio.c

The USB audio FU definitions were renewed by the commit
    65f25da4
    ALSA: usb-audio: unify constants from specification
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 09414207
...@@ -101,7 +101,7 @@ static struct uac_feature_unit_descriptor_0 feature_unit_desc = { ...@@ -101,7 +101,7 @@ static struct uac_feature_unit_descriptor_0 feature_unit_desc = {
static struct usb_audio_control mute_control = { static struct usb_audio_control mute_control = {
.list = LIST_HEAD_INIT(mute_control.list), .list = LIST_HEAD_INIT(mute_control.list),
.name = "Mute Control", .name = "Mute Control",
.type = UAC_MUTE_CONTROL, .type = UAC_FU_MUTE,
/* Todo: add real Mute control code */ /* Todo: add real Mute control code */
.set = generic_set_cmd, .set = generic_set_cmd,
.get = generic_get_cmd, .get = generic_get_cmd,
...@@ -110,7 +110,7 @@ static struct usb_audio_control mute_control = { ...@@ -110,7 +110,7 @@ static struct usb_audio_control mute_control = {
static struct usb_audio_control volume_control = { static struct usb_audio_control volume_control = {
.list = LIST_HEAD_INIT(volume_control.list), .list = LIST_HEAD_INIT(volume_control.list),
.name = "Volume Control", .name = "Volume Control",
.type = UAC_VOLUME_CONTROL, .type = UAC_FU_VOLUME,
/* Todo: add real Volume control code */ /* Todo: add real Volume control code */
.set = generic_set_cmd, .set = generic_set_cmd,
.get = generic_get_cmd, .get = generic_get_cmd,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment