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.shevche...@linux.intel.com> > Signed-off-by: Hans de Goede <hdego...@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.red...@gmail.com>
signature.asc
Description: PGP signature
_______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel