From: Oliver Neukum Date: Wed, 7 Oct 2009 08:50:23 +0000 (+0200) Subject: USB: serial: fix assumption that throttle/unthrottle cannot sleep X-Git-Tag: v2.6.32-rc4~4^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=638325154572ba2113a18669fe3b299caa2dabd9;p=pandora-kernel.git USB: serial: fix assumption that throttle/unthrottle cannot sleep many serial subdrivers are clearly written as if throttle/unthrottle cannot sleep. This leads to unneeded atomic submissions. This patch converts affected drivers in a way to makes very clear that throttle/unthrottle can sleep. Thus future misdesigns can be avoided and efficiency and reliability improved. This removes any such assumption using GFP_KERNEL and spin_lock_irq() Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed