Skip to content
Commit 9e6fd830 authored by Clemens Gruber's avatar Clemens Gruber Committed by Thierry Reding
Browse files

pwm: pca9685: Improve runtime PM behavior



The chip does not come out of POR in active state but in sleep state.
To be sure (in case the bootloader woke it up) we force it to sleep in
probe.

If runtime PM is disabled, we instead wake the chip in .probe and put it
to sleep in .remove.

Signed-off-by: default avatarClemens Gruber <clemens.gruber@pqgruber.com>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 8f4768a5
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