Skip to content
Snippets Groups Projects
Select Git revision
  • c8da642d41a6811c21177c9994aa7dc35be67d46
  • master default
  • android-container_v5.1-rc5
  • android-container
  • tomeu_android-kernel
  • v4.20.3-ptxdist-patches
6 results

linux

user avatar
Uwe Kleine-König authored
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: 757642f9 ("gpio: mvebu: Add limited PWM support")
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
c8da642d
History
Name Last commit Last update