commit | 25f11ed965bb57b6e25d5464a8cd8b3657319056 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@hovoldconsulting.com> | Tue May 26 15:29:24 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@google.com> | Tue May 26 15:26:08 2015 -0700 |
tree | 82d821e34395505a47adbe972f47b21c248db12e | |
parent | 0cb918d72d8f76b1189a63cefedbc5cb4dad9d54 [diff] |
greybus: gpio: fix atomic sleep when using interrupts The irq-chip callbacks are made in atomic context where we must not do any synchronous greybus operations. Fix the current gpio-interrupt implementation by using the bus-lock functionality provided by the irq subsystem. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>