summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/musb_core.c
diff options
context:
space:
mode:
authorKrzysztof Opasiak2015-10-14 23:03:34 +0200
committerFelipe Balbi2015-10-15 16:29:38 +0200
commit3e9d992f93fecc746baa9d4854acc026d422094f (patch)
tree0c6a0b9cc9ea29facd7da7e86d075baaaaae85d0 /drivers/usb/musb/musb_core.c
parentusb: gadget: f_sourcesink: fix function params handling (diff)
downloadkernel-qcow2-linux-3e9d992f93fecc746baa9d4854acc026d422094f.tar.gz
kernel-qcow2-linux-3e9d992f93fecc746baa9d4854acc026d422094f.tar.xz
kernel-qcow2-linux-3e9d992f93fecc746baa9d4854acc026d422094f.zip
usb: gadget: loopback: fix: Don't share qlen and buflen between instances
Each instance of loopback function may have different qlen and buflen attributes values. When linking function to configuration those values had been assigned to global variables. Linking other instance to config overwrites those values. This commit moves those values to f_loopback structure to avoid overwriting. Now each function has its own instance of those values. Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Reviewed-by: Robert Baldyga <r.baldyga@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/musb_core.c')
0 files changed, 0 insertions, 0 deletions