Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0eaf5b9a authored by Guru Das Srinagesh's avatar Guru Das Srinagesh
Browse files

power: smb5: Fix incorrect QC2.0 pulse count enum values



Currently, the enums HVDCP_PULSE_COUNT_MAX_QC2_* are written as-is to the
HVDCP_PULSE_COUNT_MAX register without taking into account their bitmask
in the register. That is, for example, 0x01 is being written to the
register instead of (0x01 << 6), which is clearly incorrect.

Fix this by assigning the correct values to each of the enums.

Change-Id: I388c05b2756dcca5442c6fd7d016a45c97330fee
Signed-off-by: default avatarGuru Das Srinagesh <gurus@codeaurora.org>
parent cbf2565c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment