diff options
| author | Hans de Goede <[email protected]> | 2020-09-03 13:23:31 +0200 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2020-09-06 15:38:04 +0200 |
| commit | 6fdefe60898ad4506456d8117c7f81cbc5d13468 (patch) | |
| tree | d95f36d66f98cea54d837f48c9c718f47ad07562 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
| parent | 6158231a84224ed0d826bbf62c992ce9c73101c1 (diff) | |
pwm: crc: Enable/disable PWM output on enable/disable
The pwm-crc code is using 2 different enable bits:
1. bit 7 of the PWM0_CLK_DIV (PWM_OUTPUT_ENABLE)
2. bit 0 of the BACKLIGHT_EN register
So far we've kept the PWM_OUTPUT_ENABLE bit set when disabling the PWM,
this commit makes crc_pwm_disable() clear it on disable and makes
crc_pwm_enable() set it again on re-enable.
Acked-by: Uwe Kleine-König <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Acked-by: Thierry Reding <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions