From: Borislav Petkov Date: Sun, 28 Oct 2007 12:24:16 +0000 (+0100) Subject: usbserial: fix inconsistent lock state X-Git-Tag: v2.6.24-rc4~76^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfaeafcfc2242277e31cc1cfae687afaac0cd9ec;p=pandora-kernel.git 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 Acked-by: Jiri Kosina Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed