USB audio gadget: handle endpoint control requests at the function level
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 20 Oct 2009 22:03:39 +0000 (00:03 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 19:55:15 +0000 (11:55 -0800)
commit0ad72524ef623f32f6899e656951bb5646caead1
tree369642d6f8e64a063f5fcdb8ec5aa93b77fb66e7
parent5242658d1b97771d658991cf29be32bcf81d5859
USB audio gadget: handle endpoint control requests at the function level

Now that control requests targeted at an endpoint can be handled at the
function level, move the UAC-specific control request handling code from
the audio gadget driver to the audio function driver.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/audio.c
drivers/usb/gadget/f_audio.c