aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2013-07-26 11:55:19 +0200
committerGreg Kroah-Hartman <[email protected]>2013-07-26 14:14:09 -0700
commit05cf0dec5ccc696a7636c84b265b477173498156 (patch)
tree83abe5bd4e48655518d3f6d3d9614c41be2ebe94 /lib/mpi/mpi-bit.c
parent40c24f2893ba0ba7df485871f6aac0c197ceef5b (diff)
USB: mos7840: fix race in led handling
Fix race in LED handling introduced by commit 0eafe4de ("USB: serial: mos7840: add support for MCS7810 devices") which reused the port control urb for manipulating the LED without making sure that the urb is not already in use. This could lead to the control urb being manipulated while in flight. Fix by adding a dedicated LED urb and ctrlrequest along with a LED-busy flag to handle concurrency. Cc: [email protected] Signed-off-by: Johan Hovold <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions