On Fri, Dec 02, 2016 at 11:17:36AM +0100, Hans de Goede wrote: > Add a get_state callback so that the initial state correctly reflects > the actual hardware state. > > Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx> > --- > drivers/pwm/pwm-lpss.c | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) Please don't mix legacy with atomic PWM. There's a little bit of mixing in the core for transitional purposes, but if you want to deal with PWM state, please also replace the ->enable(), ->disable() and ->config() implementations with ->apply(). Thierry
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel