Thread (17 messages) flat view 17 messages, 4 authors, 2016-05-27

Re: [PATCH] Input: pwm-beeper - defer pwm config if pwm can sleep

From: Manfred Schlaegl <hidden>
Date: 2016-05-13 15:38:30
Also in: lkml

On 2016-05-12 14:18, Thierry Reding wrote:
I agree with Dmitry. Users of the PWM API should always assume that
calls to the PWM API might sleep. Conditionalizing on pwm_can_sleep()
isn't a good idea, since that function is scheduled to be removed. In
fact it's been returning true unconditionally since v4.5, so the fast
path is dead code anyway.
In this case, the decision is clear ;-)
I'll rework and send the new patch in the next days.

best regards,
manfred
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help