qpnp: pwm: Rectify the LPG lookup table indices

Due to LPG hardware bug the pwm driver correctly skips the
first two bytes in the Lookup Table (LUT) when it performs the
table write. However, there exists a bug where it doesn't update
the correct LUT low and high indices. Since it skips only one
entry both at low and high index, it is difficult to spot the bug by
any practical means (i.e. visually when using LED in PWM mode).

CRs-fixed: 474759
Change-Id: Id9a78223e9888081bfa4689073f2b3de96e7a309
Signed-off-by: Jay Chokshi <jchokshi@codeaurora.org>
1 file changed