aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@google.com>2012-08-16 13:13:20 -0700
committerSimon Wilson <simonwilson@google.com>2012-08-16 13:30:06 -0700
commit994aedcb8cfca349027aaf9381ac611c8da49064 (patch)
treeb70754609257b922c6a981018fcf1a01887b28c3
parent30e1f36b1b4d9c0ae734c0863b29b48ada8ebd1b (diff)
downloadkernel_samsung_aries-994aedcb8cfca349027aaf9381ac611c8da49064.zip
kernel_samsung_aries-994aedcb8cfca349027aaf9381ac611c8da49064.tar.gz
kernel_samsung_aries-994aedcb8cfca349027aaf9381ac611c8da49064.tar.bz2
USB: gadget: f_audio_source: Fix compilation error
Change-Id: I1b785c47bda03208d396473a9d1c94631f5624d9 Signed-off-by: Mike Lockwood <lockwood@google.com>
-rw-r--r--drivers/usb/gadget/f_audio_source.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/f_audio_source.c b/drivers/usb/gadget/f_audio_source.c
index fe221c5..c5dbf71 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;
}