gpiolib: allow nested threaded irqs for poll(2)
authorDaniel Gl?ckner <dg@emlix.com>
Wed, 11 Aug 2010 01:02:26 +0000 (18:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Aug 2010 15:59:09 +0000 (08:59 -0700)
commit364fadb32b67695cec610f5cd03df2514ef0f2b0
tree0f4fa1741d83183e55e07d425426d954493485eb
parent5ba1821d1b4a506f8c9be93d962f22b24b6140a5
gpiolib: allow nested threaded irqs for poll(2)

The pca953x driver requires the use of threaded irqs as its irq
demultiplexer can sleep.  Our irq handler can be called from any context,
so use request_any_context_irq to allow threaded irqs as well.

Signed-off-by: Daniel Gl?ckner <dg@emlix.com>
Reported-by: Ian Jeffray <ian@jeffray.co.uk>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpio/gpiolib.c