cdc-acm: Fix long standing abuse of tty->low_latency
commitfb6fda072d7ef219039cc0b0e8218e5f465ef02e
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Tue, 14 Apr 2009 13:57:36 +0000 (14 14:57 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Jun 2009 16:40:16 +0000 (15 09:40 -0700)
treeb025ce9fd7e69767d5154417912a3a2a6bcaffc0
parentf71cf2a2181aef25513272991f54148799ddc1f0
cdc-acm: Fix long standing abuse of tty->low_latency

commit 7a9a65ced11ece416b730d6f21040a18e62d78a8 upstream.

ACM sets the low latency flag but calls the flip buffer routines from
IRQ context which isn't permitted (and as of 2.6.29 causes a warning
hence this one was caught)

Fortunatelt ACM doesn't need to set this flag in the first place as it
only set it to work around problems in ancient (pre tty flip rewrite)
kernels.

Reported-by: Chuck Ebbert <cebbert@redhat.com>
Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/cdc-acm.c