]> asedeno.scripts.mit.edu Git - linux.git/commit
greybus: pwm: Add runtime_pm support
authorAxel Haslam <haslam_axel@projectara.com>
Thu, 14 Jul 2016 20:13:00 +0000 (15:13 -0500)
committerAlex Elder <elder@linaro.org>
Thu, 14 Jul 2016 21:53:55 +0000 (16:53 -0500)
commitafa807b8ba23952b471abb70716076bb3c98657c
tree186f8331ae3b42b2f5a79ae268a66f9f7196eb61
parent993dc992f2e415adf9ddc69476ebaefda6af1043
greybus: pwm: Add runtime_pm support

Add runtime pm support for the pmw driver.

Testing Done: Set the parameters of pwm0, and enable.
Disable pwm0 and let the module enter standby.
Enable pwm0, and observe that with an oscilloscope
that the wave form is the same as before.

Signed-off-by: Axel Haslam <haslam_axel@projectara.com>
Signed-off-by: David Lin <dtwlin@google.com>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Alex Elder <elder@linaro.org>
drivers/staging/greybus/pwm.c