Thread (2 messages) flat view 2 messages, 2 authors, 2018-12-17

Re: [PATCH] gpio: mvebu: only fail on missing clk if pwm is actually to be used

From: Linus Walleij <hidden>
Date: 2018-12-17 14:26:11
Also in: linux-gpio, stable

On Mon, Dec 17, 2018 at 9:43 AM Uwe Kleine-König
[off-list ref] wrote:
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 <redacted>
Patch applied for fixes with Gregory's review tag!

Will try to get this upstream with some other GPIO
fixes ASAP.

Yours,
Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help