mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
twl4030_charger: trust phy to determine when USB power is available.
The usb phy driver already determines when VBUS is available, so repeating the test in the charger driver is pointless duplication. On probe, process the last event from the phy, and from then on, do whatever the phy tells us without double-checking. Signed-off-by: NeilBrown <neil@brown.name> Signed-off-by: Sebastian Reichel <sre@kernel.org>
This commit is contained in:
parent
3fc3895e4f
commit
6e37ec8c77
1 changed files with 6 additions and 27 deletions
Loading…
Add table
Add a link
Reference in a new issue