diff options
author | Liam Breck <liam@networkimprov.net> | 2017-01-18 17:26:49 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-14 12:00:14 (GMT) |
commit | 20e448f2251c0a78421889267b3709758c544ff2 (patch) | |
tree | 75e5b562c523adc629d0ad4fb81b71317edc3d68 /fs/gfs2 | |
parent | d8d6aedd54ce583b31aceef491adb2419f2b4ac6 (diff) | |
download | linux-20e448f2251c0a78421889267b3709758c544ff2.tar.xz |
power: supply: bq24190_charger: Call set_mode_host() on pm_resume()
commit e05ad7e0741ce0505e1df157c62b22b95172bb97 upstream.
pm_resume() does a register_reset() which clears charger host mode.
Fix by calling set_mode_host() after the reset.
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 'fs/gfs2')
0 files changed, 0 insertions, 0 deletions