]> git.baikalelectronics.ru Git - kernel.git/commit
pwm: crc: Implement apply() method to support the new atomic PWM API
authorHans de Goede <hdegoede@redhat.com>
Thu, 3 Sep 2020 11:23:32 +0000 (13:23 +0200)
committerHans de Goede <hdegoede@redhat.com>
Sun, 6 Sep 2020 13:38:04 +0000 (15:38 +0200)
commit9fccec821904b5f2a44b0c7b522a058ad0590a2c
tree5eba3da37edebcccdf5765dbbaa288edd3cf79ff
parent6fdefe60898ad4506456d8117c7f81cbc5d13468
pwm: crc: Implement apply() method to support the new atomic PWM API

Replace the enable, disable and config pwm_ops with an apply op,
to support the new atomic PWM API.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200903112337.4113-13-hdegoede@redhat.com
drivers/pwm/pwm-crc.c