commit | 3950c95e2c39b998abcc9702005b5ba7c7f70d32 | [log] [tgz] |
---|---|---|
author | H. Nikolaus Schaller <hns@goldelico.com> | Mon Jul 03 18:37:10 2017 +0200 |
committer | Sebastian Reichel <sebastian.reichel@collabora.co.uk> | Mon Jul 03 19:15:00 2017 +0200 |
tree | 5273eea5a079f0146b79a499cf281bc6e32eb7af | |
parent | bfa953d336cdd713f6968c85ca820ef22333dc35 [diff] |
power: supply: twl4030-charger: move irq allocation to just before irqs are enabled And initialize workers and notifiers as soon as possible. This avoids a potential race if irqs are enabled and triggered too early before the worker is properly set up. Suggested-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>