[PATCH 2/2] pwm: lpss: Add get_state callback
thierry.reding at gmail.com
Mon Dec 5 07:36:19 UTC 2016
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 at redhat.com>
> 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().
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 801 bytes
Desc: not available
More information about the dri-devel