USB: gadget: f_audio_source: Fix compilation error
authorMike Lockwood <lockwood@google.com>
Thu, 16 Aug 2012 20:13:20 +0000 (13:13 -0700)
committerMike Lockwood <lockwood@google.com>
Thu, 16 Aug 2012 20:15:09 +0000 (13:15 -0700)
Change-Id: I1b785c47bda03208d396473a9d1c94631f5624d9
Signed-off-by: Mike Lockwood <lockwood@google.com>
drivers/usb/gadget/f_audio_source.c

index fe221c51cbfb5d699893e853ccb98e36938c47aa..c5dbf7180fdb0f5c8c510553c84e47ea45d9803e 100644 (file)
@@ -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;
 }