]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
pwm: atmel: set pwm_chip can_sleep flag
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 9 Apr 2014 18:26:09 +0000 (20:26 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 21 May 2014 10:08:57 +0000 (12:08 +0200)
commitcf3a384b3484200f45d185b2e3c7b71fd4511ea7
tree67cf0675deb027ca935f326c8e54a61252b59e6b
parentbd9c1b60050e2b7ef6507d8eaa5279afc043e06e
pwm: atmel: set pwm_chip can_sleep flag

atmel_pwm_config() calls clk_get_rate() which might sleep, so we need to
set pwm_chip can_sleep flag.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-atmel.c