Skip to content
Commit 5748aa1e authored by Miquel Raynal's avatar Miquel Raynal Committed by Fabio Estevam
Browse files

pwm: imx: Don't drop the enable bit once set



Changing the duty-cycle should not blindly override (and clear) the
enable (EN) bit if it has already been set. For instance, a PWM
backlight can be enabled and set to a specific intensity using two
operations. The order of these operations should not matter.

Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: default avatarFabio Estevam <festevam@gmail.com>
parent 4aea3110
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