From: Dmitry Torokhov Date: Tue, 15 Dec 2009 06:47:20 +0000 (-0800) Subject: Input: at32psif - do not sleep in atomic context X-Git-Tag: v2.6.33-rc1~61^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e47c4f70ea41fd973eec80a9388a1347d3d27896;p=pandora-kernel.git Input: at32psif - do not sleep in atomic context We can't use msleep() while holding a spinlock, moreower serio's write() method is supposed to be useable from inettrupt context. Let's do what i8042 does and poll the status register every 50 us (with udelay). Reported-by: Marjan Fojkar Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed