diff options
-rw-r--r-- | drivers/pwm/pwm-twl-led.c | 1 | ||||
-rw-r--r-- | drivers/pwm/pwm-twl.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pwm/pwm-twl-led.c b/drivers/pwm/pwm-twl-led.c index 9dfa0f3eca30..83e25d45d640 100644 --- a/drivers/pwm/pwm-twl-led.c +++ b/drivers/pwm/pwm-twl-led.c | |||
@@ -300,6 +300,7 @@ static int twl_pwmled_probe(struct platform_device *pdev) | |||
300 | 300 | ||
301 | twl->chip.dev = &pdev->dev; | 301 | twl->chip.dev = &pdev->dev; |
302 | twl->chip.base = -1; | 302 | twl->chip.base = -1; |
303 | twl->chip.can_sleep = true; | ||
303 | 304 | ||
304 | mutex_init(&twl->mutex); | 305 | mutex_init(&twl->mutex); |
305 | 306 | ||
diff --git a/drivers/pwm/pwm-twl.c b/drivers/pwm/pwm-twl.c index e65db95d5e59..f783efcd14bb 100644 --- a/drivers/pwm/pwm-twl.c +++ b/drivers/pwm/pwm-twl.c | |||
@@ -315,6 +315,7 @@ static int twl_pwm_probe(struct platform_device *pdev) | |||
315 | twl->chip.dev = &pdev->dev; | 315 | twl->chip.dev = &pdev->dev; |
316 | twl->chip.base = -1; | 316 | twl->chip.base = -1; |
317 | twl->chip.npwm = 2; | 317 | twl->chip.npwm = 2; |
318 | twl->chip.can_sleep = true; | ||
318 | 319 | ||
319 | mutex_init(&twl->mutex); | 320 | mutex_init(&twl->mutex); |
320 | 321 | ||