diff options
author | Robert Baldyga <r.baldyga@samsung.com> | 2015-07-13 11:03:51 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-07-31 08:57:59 -0500 |
commit | 4ef7a4a1f097b2c17f4f2873a1595aa0aca9f6b4 (patch) | |
tree | 67b75f84a918f3170ab0bef42883fca8e0b54986 /drivers/usb/isp1760 | |
parent | 55d811211b139ed097ddaf40d173c258f133c130 (diff) | |
download | linux-stable-4ef7a4a1f097b2c17f4f2873a1595aa0aca9f6b4.tar.gz linux-stable-4ef7a4a1f097b2c17f4f2873a1595aa0aca9f6b4.tar.bz2 linux-stable-4ef7a4a1f097b2c17f4f2873a1595aa0aca9f6b4.zip |
usb: gadget: midi: avoid redundant f_midi_set_alt() call
Function midi registers two interfaces with single set_alt() function
which means that f_midi_set_alt() is called twice when configuration
is set. That means that endpoint initialization and ep request allocation
is done two times. To avoid this problem we do such things only once,
for interface number 1 (MIDI Streaming interface).
Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/isp1760')
0 files changed, 0 insertions, 0 deletions