diff options
author | Yuanjiang Yu <[email protected]> | 2019-01-15 18:32:37 +0800 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2019-01-23 21:26:56 +0100 |
commit | d3e67c94e8f607ee90097d296deecf030af9b8ab (patch) | |
tree | e6ce8f1f35f0c948f9c8cd0d4683a4b47a86a8fe /drivers/usb/cdns3/cdns3-debug.h | |
parent | 3a28f203c57944ac98a3adcbfacdbfa385966972 (diff) |
power: supply: sc27xx: Fix capacity saving function
We found sometimes we can not get the saving capacity to initialize the
battery capacity, the reason is the user area registers are put on power
always-on region, so we need delay some time to wait until values are
updated successfully.
Moreover we also should clear the USER_AREA_CLEAR register after setting
the USER_AREA_SET register, otherwise we can not save the values in the
USER_AREA_SET register.
Signed-off-by: Yuanjiang Yu <[email protected]>
Signed-off-by: Baolin Wang <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions