On Sun, Jan 5, 2020 at 9:24 AM Samuel Holland <[email protected]> wrote: > > On AXP288 and newer PMICs, bit 7 of AXP20X_VBUS_IPSOUT_MGMT can be set > to prevent using the VBUS input. However, when the VBUS unplugged and > plugged back in, the bit automatically resets to zero. > > We need to set the register as volatile to prevent regmap from caching > that bit. Otherwise, regcache will think the bit is already set and not > write the register. > > Fixes: cd53216625a0 ("mfd: axp20x: Fix axp288 volatile ranges") > Cc: [email protected] > Signed-off-by: Samuel Holland <[email protected]>
Reviewed-by: Chen-Yu Tsai <[email protected]> -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/CAGb2v64Cep6CdTxi3nMXG71N%2BDydY99Y8WN0VyM3ZqK9e_EfGQ%40mail.gmail.com.
