]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
USB: dummy-hcd: disable interrupts during req->complete
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 28 Jul 2006 21:07:34 +0000 (17:07 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 2 Aug 2006 23:41:42 +0000 (16:41 -0700)
commitb4dbda1a22d236842b75be4e2679a96a4fd72632
treeae910b3268c443e883b81a46a3bc7e34450ce0d8
parentbe0c8015a2e981b9079cb5f0e2bf868fa10249ae
USB: dummy-hcd: disable interrupts during req->complete

This patch (as756) fixes a bug in dummy-hcd found by the lockdep
checker.  In one of the code paths, the driver did not disable
interrupts before calling a request completion routine.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/dummy_hcd.c