[Intel-gfx] [PATCH 2/2] pwm: lpss: Add get_state callback
Thierry Reding
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().
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20161205/3a9bd9e7/attachment.sig>
More information about the Intel-gfx
mailing list