aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorThierry Reding <[email protected]>2016-01-21 14:04:59 +0000
committerThierry Reding <[email protected]>2016-01-21 14:04:59 +0000
commitff01c944cfa939f3474c28d88223213494aedf0b (patch)
tree8afb1372654d843dca5e0969ddfd58cb5bda7c3a /net/unix/af_unix.c
parentpwm: omap-dmtimer: Potential NULL dereference on error (diff)
downloadkernel-ff01c944cfa939f3474c28d88223213494aedf0b.tar.gz
kernel-ff01c944cfa939f3474c28d88223213494aedf0b.zip
pwm: Mark all devices as "might sleep"
Commit d1cd21427747 ("pwm: Set enable state properly on failed call to enable") introduced a mutex that is needed to protect internal state of PWM devices. Since that mutex is acquired in pwm_set_polarity() and in pwm_enable() and might potentially block, all PWM devices effectively become "might sleep". It's rather pointless to keep the .can_sleep field around, but given that there are external users let's postpone the removal for the next release cycle. Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions