commit | d2cec82c28802da31596b395ad292cb8f132fd63 | [log] [tgz] |
---|---|---|
author | Phil Reid <preid@electromag.com.au> | Mon Jul 25 10:42:58 2016 +0800 |
committer | Sebastian Reichel <sre@kernel.org> | Mon Aug 15 21:51:30 2016 +0200 |
tree | f4c9974089fd309e12d8922271acea6e999692d8 | |
parent | 9239a86f0976b58d3da7a2261ed659ac9eba0f25 [diff] |
power: sbs-battery: Request threaded irq and fix dev callback cookie Currently the battery detect gpio can not be used with a chained interrupt controller that requires threaded irq handlers. Use threaded irq instead. In addition this was not going to be working at present because chip->power_supply is assigned after the request irq call. Signed-off-by: Phil Reid <preid@electromag.com.au> Signed-off-by: Sebastian Reichel <sre@kernel.org>