Skip to content
Commit 2c25b07e authored by Florian Fainelli's avatar Florian Fainelli Committed by Thierry Reding
Browse files

pwm: bcm2835: Dynamically allocate base



The newer 2711 and 7211 chips have two PWM controllers and failure to
dynamically allocate the PWM base would prevent the second PWM
controller instance being probed for succeeding with an -EEXIST error
from alloc_pwms().

Fixes: e5a06dc5 ("pwm: Add BCM2835 PWM driver")
Signed-off-by: Florian Fainelli's avatarFlorian Fainelli <f.fainelli@gmail.com>
Acked-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: default avatarNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 5df5a577
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment