Re: [PATCH 04/13] twl4030_charger: trust phy to determine when USB power is available.

From: Pavel Machek
Date: Tue Sep 15 2015 - 07:30:21 EST


On Thu 2015-07-30 10:11:24, NeilBrown wrote:
> 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@xxxxxxxxxx>

Acked-by: Pavel Machek <pavel@xxxxxx>

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/