Home
last modified time | relevance | path

Searched hist:"3 e9d992f93fecc746baa9d4854acc026d422094f" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/gadget/function/
H A Df_loopback.cdiff 3e9d992f93fecc746baa9d4854acc026d422094f Wed Oct 14 16:03:34 CDT 2015 Krzysztof Opasiak <k.opasiak@samsung.com> 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>