diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-12-14 22:47:20 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-12-15 00:35:08 -0800 |
commit | e47c4f70ea41fd973eec80a9388a1347d3d27896 (patch) | |
tree | baf261863ea13ccee04e2c150b68abb7034e2546 /crypto/proc.c | |
parent | a61cd03827eceefcec19eefc6e1173703fdc5e5d (diff) | |
download | op-kernel-dev-e47c4f70ea41fd973eec80a9388a1347d3d27896.zip op-kernel-dev-e47c4f70ea41fd973eec80a9388a1347d3d27896.tar.gz |
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 <marjan@pajkc.eu>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'crypto/proc.c')
0 files changed, 0 insertions, 0 deletions