diff options
author | Liam Breck <liam@networkimprov.net> | 2017-01-18 17:26:52 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-14 12:00:14 (GMT) |
commit | 4b7dac0a23b7c416b30962362268e8e55da9eaff (patch) | |
tree | c786f8eb84239aee67b92567107932a873624601 /drivers/pcmcia/pxa2xx_base.h | |
parent | 63e1acc84d28d73107e72482e33dcca152bb5ea4 (diff) | |
download | linux-4b7dac0a23b7c416b30962362268e8e55da9eaff.tar.xz |
power: supply: bq24190_charger: Call power_supply_changed() for relevant component
commit 2d9fee6a42ea170e4378b3363a7ad385d0e67281 upstream.
We wrongly get uevents for bq24190-charger and bq24190-battery on every
register change.
Fix by checking the association with charger and battery before
emitting uevent(s).
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pcmcia/pxa2xx_base.h')
0 files changed, 0 insertions, 0 deletions