]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: f_midi: set altsettings only for MIDIStreaming interface
authorFelipe F. Tonello <eu@felipetonello.com>
Tue, 1 Dec 2015 18:31:00 +0000 (18:31 +0000)
committerFelipe Balbi <balbi@ti.com>
Wed, 16 Dec 2015 16:07:29 +0000 (10:07 -0600)
commit5b5c84e7db0df402a6cc81a25997a1e659372d52
tree819ca15f04937e679016c22ba4a090411be53666
parent9010724c52fca94e7648966ed896ba2bbae98f41
usb: gadget: f_midi: set altsettings only for MIDIStreaming interface

This avoids duplication of USB requests for OUT endpoint and
re-enabling endpoints.

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/f_midi.c