]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: gadget: function: uvc: return correct alt-setting
authorFelipe Balbi <balbi@ti.com>
Mon, 29 Sep 2014 16:13:26 +0000 (11:13 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 20 Oct 2014 20:58:48 +0000 (15:58 -0500)
commite975be287b87e0862b0f57e7326a79667e32a90a
tree0ac45fb9891914178f1a986a9eb71e31bea56b70
parentc92bae753722a0010f1cabfb242581e130378b9f
usb: gadget: function: uvc: return correct alt-setting

If our alternate setting has been selected, we must
return that on a subsequent Get Interface request
even if we're not streaming.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/f_uvc.c