From: Mike Lockwood Date: Thu, 16 Aug 2012 20:13:20 +0000 (-0700) Subject: USB: gadget: f_audio_source: Fix compilation error X-Git-Tag: firefly_0821_release~7613^2~44 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=16f1d4248241c8b50b26da466b263cffecac646d;p=firefly-linux-kernel-4.4.55.git USB: gadget: f_audio_source: Fix compilation error Change-Id: I1b785c47bda03208d396473a9d1c94631f5624d9 Signed-off-by: Mike Lockwood --- diff --git a/drivers/usb/gadget/f_audio_source.c b/drivers/usb/gadget/f_audio_source.c index fe221c51cbfb..c5dbf7180fdb 100644 --- a/drivers/usb/gadget/f_audio_source.c +++ b/drivers/usb/gadget/f_audio_source.c @@ -525,7 +525,7 @@ static int audio_set_alt(struct usb_function *f, unsigned intf, unsigned alt) struct audio_dev *audio = func_to_audio(f); pr_debug("audio_set_alt intf %d, alt %d\n", intf, alt); - usb_ep_enable(audio->in_ep, audio->in_desc); + usb_ep_enable(audio->in_ep, &fs_as_in_ep_desc); return 0; }