diff options
author | Liam Breck <liam@networkimprov.net> | 2017-01-18 18:26:50 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2017-01-20 12:42:59 +0100 |
commit | d62acc5ef0621463446091ebd7a345e06e9ab80c (patch) | |
tree | 899f40203c2c857f36b4349174a765821c5f0f70 /tools | |
parent | power: supply: bq24190_charger: Call set_mode_host() on pm_resume() (diff) | |
download | linux-d62acc5ef0621463446091ebd7a345e06e9ab80c.tar.xz linux-d62acc5ef0621463446091ebd7a345e06e9ab80c.zip |
power: supply: bq24190_charger: Install irq_handler_thread() at end of probe()
The device specific data is not fully initialized on
request_threaded_irq(). This may cause a crash when the IRQ handler
tries to reference them.
Fix the issue by installing IRQ handler at the end of the probe.
Fixes: d7bf353fd0aa3 ("bq24190_charger: Add support for TI BQ24190 Battery Charger")
Signed-off-by: Liam Breck <kernel@networkimprov.net>
Acked-by: Mark Greer <mgreer@animalcreek.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions