Home
last modified time | relevance | path

Searched hist:f286d487e9283a42a8844659bb5552b3f1bf6a7d (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/gadget/function/
H A Df_hid.cdiff f286d487e9283a42a8844659bb5552b3f1bf6a7d Fri Mar 27 03:35:44 CDT 2015 Krzysztof Opasiak <kopasiak90@gmail.com> usb: gadget: hid: Fix static variable usage

If we have multiple instances of hid function, each of
them may have different report descriptor, also their
length may be different.

Currently we are using static hidg_desc varable which
is being filled in hidg_bind(). Then we send its content
to host in hidg_setup() function. This content may
have been already overwriten if another instance
has executed hidg_bind().

Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>