diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2018-12-17 11:43:13 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-12-21 11:23:46 +0300 |
commit | c8da642d41a6811c21177c9994aa7dc35be67d46 (patch) | |
tree | f4b06950c1151452c165cb675cb8292b81e462df /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | abf221d2f51b8ce7b9959a8953f880a8b0a1400d (diff) | |
download | linux-c8da642d41a6811c21177c9994aa7dc35be67d46.tar.xz |
gpio: mvebu: only fail on missing clk if pwm is actually to be used
The gpio IP on Armada 370 at offset 0x18180 has neither a clk nor pwm
registers. So there is no need for a clk as the pwm isn't used anyhow.
So only check for the clk in the presence of the pwm registers. This fixes
a failure to probe the gpio driver for the above mentioned gpio device.
Fixes: 757642f9a584 ("gpio: mvebu: Add limited PWM support")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions