]> www.infradead.org Git - users/willy/xarray.git/commit
pwm: omap-dmtimer: Implement .apply callback
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 12 Mar 2020 04:22:10 +0000 (09:52 +0530)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 30 Mar 2020 16:03:08 +0000 (18:03 +0200)
commit6b28fb6f3ca30bd98815041b4eb795743706402d
treea6636f469f90b1b91902b5c2523e288ba1bb6290
parente793eef8062f4a5b24433d0e0aac2ddf9cf71da8
pwm: omap-dmtimer: Implement .apply callback

Implement .apply callback and drop the legacy callbacks(enable, disable,
config, set_polarity). In .apply() check for the current hardware status
before changing the PWM configuration.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-omap-dmtimer.c