summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/pcf50633-charger.c
diff options
context:
space:
mode:
authorH. Nikolaus Schaller <hns@goldelico.com>2017-07-03 18:37:10 +0200
committerSebastian Reichel <sebastian.reichel@collabora.co.uk>2017-07-03 19:15:00 +0200
commit3950c95e2c39b998abcc9702005b5ba7c7f70d32 (patch)
tree5273eea5a079f0146b79a499cf281bc6e32eb7af /drivers/power/supply/pcf50633-charger.c
parentpower: supply: sbs-battery: Don't needlessly set CAPACITY_MODE (diff)
downloadlinux-3950c95e2c39b998abcc9702005b5ba7c7f70d32.tar.xz
linux-3950c95e2c39b998abcc9702005b5ba7c7f70d32.zip
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>
Diffstat (limited to 'drivers/power/supply/pcf50633-charger.c')
0 files changed, 0 insertions, 0 deletions