commit | 2329c21a555c1aa6e1be461a30f2156c18812b8c | [log] [tgz] |
---|---|---|
author | Miquel Raynal <miquel.raynal@bootlin.com> | Tue Sep 10 11:13:59 2024 +0200 |
committer | Fabio Estevam <festevam@gmail.com> | Wed Sep 11 17:02:36 2024 -0300 |
tree | b7824d825095d0259d01fe807fa4fb16e45d9a75 | |
parent | 659a0c2da3d1a68929460bf664edcebcef5d8fe6 [diff] |
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: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Fabio Estevam <festevam@gmail.com>