diff options
author | H. Nikolaus Schaller <[email protected]> | 2017-07-03 18:37:10 +0200 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2017-07-03 19:15:00 +0200 |
commit | 3950c95e2c39b998abcc9702005b5ba7c7f70d32 (patch) | |
tree | 5273eea5a079f0146b79a499cf281bc6e32eb7af /lib/netdev-notifier-error-inject.c | |
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 <[email protected]>
Signed-off-by: H. Nikolaus Schaller <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions