diff options
author | Liam Breck <liam@networkimprov.net> | 2017-01-18 09:26:52 -0800 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2017-01-20 12:43:03 +0100 |
commit | 2d9fee6a42ea170e4378b3363a7ad385d0e67281 (patch) | |
tree | f37ad18c052bd9c4fbb76d1a37794c97bd49e1f5 /crypto/cmac.c | |
parent | d62acc5ef0621463446091ebd7a345e06e9ab80c (diff) |
power: supply: bq24190_charger: Call power_supply_changed() for relevant component
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>
Diffstat (limited to 'crypto/cmac.c')
0 files changed, 0 insertions, 0 deletions