diff options
| author | Tony Lindgren <[email protected]> | 2019-04-07 11:12:51 -0700 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2019-04-15 22:52:52 +0200 |
| commit | 35439b7ab2dbd458377efaa979820360f4951784 (patch) | |
| tree | 97b459a2ba7d98248dc9c1a72a9f6a4c9a3f04a2 /drivers/gpu/drm/lima/lima_object.c | |
| parent | c68b901ac4fa969db8917b6a9f9b40524a690d20 (diff) | |
power: supply: cpcap-battery: Fix coulomb counter calibration register use
The coulomb counter calibration is not CCO, it's CCM. And the CCM is
nine bits wide signed register, so let's use sign_extend32() for it.
Signed-off-by: Tony Lindgren <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_object.c')
0 files changed, 0 insertions, 0 deletions