[Intel-gfx] [PATCH v8 13/17] pwm: crc: Implement get_state() method
Thierry Reding
thierry.reding at gmail.com
Mon Aug 31 11:18:07 UTC 2020
On Sun, Aug 30, 2020 at 02:57:49PM +0200, Hans de Goede wrote:
> Implement the pwm_ops.get_state() method to complete the support for the
> new atomic PWM API.
>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>
> ---
> Changes in v6:
> - Rebase on 5.9-rc1
> - Use DIV_ROUND_UP_ULL because pwm_state.period and .duty_cycle are now u64
>
> Changes in v5:
> - Fix an indentation issue
>
> Changes in v4:
> - Use DIV_ROUND_UP when calculating the period and duty_cycle from the
> controller's register values
>
> Changes in v3:
> - Add Andy's Reviewed-by tag
> - Remove extra whitespace to align some code after assignments (requested by
> Uwe Kleine-König)
> ---
> drivers/pwm/pwm-crc.c | 31 +++++++++++++++++++++++++++++++
> 1 file changed, 31 insertions(+)
Acked-by: Thierry Reding <thierry.reding at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20200831/982017dd/attachment.sig>
More information about the Intel-gfx
mailing list