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

Commit 8b42673d authored by Fenglin Wu's avatar Fenglin Wu
Browse files

pwm: pwm-qpnp: Fix uninitialized variable use



Fix uninitialized variable use which would cause unexpected return
value.

CRs-Fixed: 2070945
Change-Id: I874ec28904149061246fb4c2b24444a4c33e0116
Signed-off-by: default avatarFenglin Wu <fenglinw@codeaurora.org>
parent b56464c7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1475,7 +1475,7 @@ static void qpnp_pwm_disable(struct pwm_chip *pwm_chip,
 */
int pwm_change_mode(struct pwm_device *pwm, enum pm_pwm_mode mode)
{
	int rc;
	int rc = 0;
	unsigned long flags;
	struct qpnp_pwm_chip *chip;