aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorRicardo Rivera-Matos <[email protected]>2023-07-14 12:45:29 -0500
committerSebastian Reichel <[email protected]>2023-07-19 22:55:59 +0200
commitda28e18d6a31448a5f67e59e835669e930f8c044 (patch)
treec9d14313e15253a435424decd5810396bafb16df /lib/crypto/mpi/mpi-sub-ui.c
parent2ce8284c31156c432df60d4497ec68cca04e128f (diff)
power: supply: bq24190: Considers FORCE_20PCT when getting IPRECHG
Adds a check of the FORCE_20PCT bit when getting the precharge current value. According to the bit description for the FORCE_20PCT bit, when FORCE_20PCT is true, the precharge current target is 50% of what is configured in the IPRECHG bit field. Signed-off-by: Ricardo Rivera-Matos <[email protected]> Reviewed-by: David Rhodes <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions