aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBorislav Petkov <[email protected]>2007-10-28 13:24:16 +0100
committerGreg Kroah-Hartman <[email protected]>2007-11-28 13:58:34 -0800
commitbfaeafcfc2242277e31cc1cfae687afaac0cd9ec (patch)
tree15b6a182df4e0d2d15a26a9c10124b7ec18e82a3 /include
parented206ec9ab398e1c3756ff0eb9507db1d009e65f (diff)
usbserial: fix inconsistent lock state
In commit acd2a847e7fee7df11817f67dba75a2802793e5d usb_serial_generic_write() disables interrupts when taking &port->lock which is also taken in usb_serial_generic_read_bulk_callback() resulting in an inconsistent lock state due to the latter not disabling interrupts on the local cpu. Fix that by disabling interrupts in the latter call site also. Signed-off-by: Borislav Petkov <[email protected]> Acked-by: Jiri Kosina <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions