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)
commit919de443c2acd9fbd691ea0ed7d1ad858e5f8bed
tree819ca15f04937e679016c22ba4a090411be53666
parent03e43528ab68449921201744a731c1bac50bc9d1
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