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@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