On Mon, Nov 14, 2022 at 02:56:02PM +0200, Ivaylo Dimitrov wrote: > usb_phy::notifier is already used by various PHY drivers (including > phy_generic) to report VBUS status changes and its usage conflicts with > charger current limit changes reporting. > > Fix that by introducing a second notifier that is dedicated to usb charger > notifications. Add usb_charger_XXX_notifier functions. Fix charger drivers > that currently (ab)use usb_XXX_notifier() to use the new API. > > Fixes: a9081a008f84 ("usb: phy: Add USB charger support") > > Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@xxxxxxxxx> > --- > drivers/power/supply/wm831x_power.c | 7 ++++--- For the changes to wm831x looks fine to me: Acked-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx> Thanks, Charles