Re: [PATCH] pwm: Call pwm_enable() before pwm_config()

From
Lars-Peter Clausen <lars@metafoo.de>
Date
2012-08-23 17:19:49
Also in
linux-arm-kernel, linux-fbdev, lkml
Reply to
Lars-Peter Clausen, 2012-08-23
On 08/23/2012 07:12 PM, Lars-Peter Clausen wrote:
[...]
Or maybe just use the runtime pm API for this. This probably makes even more
sense and grab a reference to the pm context when the enable() is called,
release it when disable() is called and also grab it before calling the
device's config callback and release it afterward.
Btw. this seems to be exactly what the pwm-tiecap and pwm-tiehrpwm drivers
already do today. I'd just make that a core PWM framework feature.
Thread (12 messages) 12 messages, 6 authors, last reply 2012-09-20
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help