power: smb1390-psy: Modify ILIM votable callback
Currently ILIM is evaluated in status change work of charge pump driver
which limit its configurability to power_supply_changed calls.
However, change in FCC, which directly effects ILIM, does not trigger
any power supply change event, which can be problematic.
Fix this by directly casting FCC vote, independent of status change work.
Change-Id: I489076f409fb7d6be55c2ea1393ce6de34fdb54a
Signed-off-by:
Umang Agrawal <uagrawal@codeaurora.org>
Loading
Please register or sign in to comment