aboutsummaryrefslogtreecommitdiffstats
path: root/sound/sound_core.c
diff options
context:
space:
mode:
authorKrzysztof Opasiak <kopasiak90@gmail.com>2015-03-27 04:35:44 -0400
committerFelipe Balbi <balbi@ti.com>2015-04-27 15:44:23 -0400
commitf286d487e9283a42a8844659bb5552b3f1bf6a7d (patch)
tree5b33ffcc7fe3e560b4f7faa2b001f46c2fc4436f /sound/sound_core.c
parent903124fe1aa284f61745a9dd4fbfa0184e569fff (diff)
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>
Diffstat (limited to 'sound/sound_core.c')
0 files changed, 0 insertions, 0 deletions