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:
Guru Das Srinagesh <gurus@codeaurora.org>
Loading
Please register or sign in to comment