summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-11-17 23:59:34 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-11-18 00:16:44 -0800
commite3f0f0a6c11b049f1be603dcfec82d2a8643f5fd (patch)
treef77ff559fb6c1af542217627678af719fdc32dce /drivers/input/touchscreen
parent20a4c261ad9cec39942257b1f91765a4b238db05 (diff)
downloadop-kernel-dev-e3f0f0a6c11b049f1be603dcfec82d2a8643f5fd.zip
op-kernel-dev-e3f0f0a6c11b049f1be603dcfec82d2a8643f5fd.tar.gz
Input: xpad - ensure xpad->bulk_out is initialized before submitting urb
As pointed out by Oliver Neukum: xpad->irq_in is currently submitted before xpad->bulk_out is allocated. That however is a race, because the callback for irq_in can call xpad360w_process_packet(), which will in turn submit the bulk URB. This patch moves initialization for xpad->bulk_out earlier, so we can ensure xpad->bulk_out is initialized before submitting urb. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/touchscreen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud