gpio/pca953x: Fix IRQ support.
authorDavid Jander <david@protonic.nl>
Wed, 8 Jun 2011 17:34:37 +0000 (11:34 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 8 Jun 2011 17:34:37 +0000 (11:34 -0600)
It seems that in the normal case, IRQ_NOREQUEST needs to be explicitly
cleared, otherwise claiming the interrupt fails.
In the case of sparse interrupts, the descriptor needs to be allocated
first.

Signed-off-by: David Jander <david@protonic.nl>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

No differences found