Skip to content

Commit

Permalink
power: pmic: rk8xx: remove interrupt request
Browse files Browse the repository at this point in the history
Fix the issue:
    Failed to request rk8xx irq, ret=-1

For pmic just set the voltage. There is no need to apply for interruption.

Signed-off-by: Stephen <stephen@vamrs.com>
  • Loading branch information
StephenInVamrs committed Dec 6, 2021
1 parent fd21206 commit fd3d0a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/power/pmic/rk8xx.c
Expand Up @@ -389,11 +389,13 @@ static int rk8xx_ofdata_to_platdata(struct udevice *dev)
return ret;
}

/*
rk8xx->irq = phandle_gpio_to_irq(phandle, interrupt);
if (rk8xx->irq < 0) {
printf("Failed to request rk8xx irq, ret=%d\n", rk8xx->irq);
return rk8xx->irq;
}
*/

val = dev_read_u32_default(dev, "long-press-off-time-sec", 0);
if (val <= 6)
Expand Down

0 comments on commit fd3d0a5

Please sign in to comment.