diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2020-10-30 16:41:35 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2020-12-17 16:18:55 +0300 |
commit | 1f0f1e80fdd3aa9631f6c22cda4f8550cfcfcc3e (patch) | |
tree | 061f4fe2196d37f260e63ed7f5e6af2bd6748da6 /Documentation | |
parent | 34cbcd72588f40e58d7db5aa8c125068dd735765 (diff) | |
download | linux-1f0f1e80fdd3aa9631f6c22cda4f8550cfcfcc3e.tar.xz |
pwm: lp3943: Dynamically allocate PWM chip base
When there are other PWM controllers enabled along with pwm-lp3943,
pwm-lp3942 is failing to probe with -EEXIST error. This is because
other PWM controllers are probed first and assigned PWM base 0 and
pwm-lp3943 is requesting for 0 again.
In order to avoid this, assign the chip base with -1, so that it is
dynamically allocated.
Fixes: af66b3c0934e ("pwm: Add LP3943 PWM driver")
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Uwe Kleine-König <u.kleine-könig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions