USB: g_serial: don't set low_latency flag
authorJon Povey <jon.povey@racelogic.co.uk>
Mon, 14 Jun 2010 10:41:04 +0000 (19:41 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 30 Jun 2010 15:16:05 +0000 (08:16 -0700)
commit44a0c0190b500ee6bcfc0976fe540f65dee2cd67
tree9e76a7878e2dd19423dacf0d95238726f06a8be7
parent93416253073511716f7e70c06e32c3810c3deac4
USB: g_serial: don't set low_latency flag

No longer set low_latency flag as it causes this warning backtrace:

  WARNING: at kernel/mutex.c:207 __mutex_lock_slowpath+0x6c/0x288()

Fix associated locking and wakeups.

Signed-off-by: Jon Povey <jon.povey@racelogic.co.uk>
Cc: Maulik Mankad <x0082077@ti.com>
Cc: stable <stable@kernel.org>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/u_serial.c