diff options
author | Enric Balletbo i Serra <[email protected]> | 2018-08-14 18:50:59 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2018-10-09 02:58:42 -0700 |
commit | e6bcca0890b96a3c2c5e72169de72ba4d2b01b78 (patch) | |
tree | 4773454f176ecf3c97fdb8679a5cb8b0d09a7f67 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0b193400b3f2b7af446f5a624f8af51b34d6f5d1 (diff) |
backlight: pwm_bl: Switch to using "atomic" PWM API
The "atomic" API allows us to configure PWM period and duty_cycle and
enable it in one call.
The patch also moves the pwm_init_state just before any use of the
pwm_state struct, this fixes a potential bug where pwm_get_state
can be called before pwm_init_state.
Signed-off-by: Enric Balletbo i Serra <[email protected]>
Reviewed-by: Daniel Thompson <[email protected]>
Tested-by: Heiko Stuebner <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions