Uwe Kleine-König
7bee9f9a13
gpio: mvebu: only fail on missing clk if pwm is actually to be used
...
[ Upstream commit c8da642d41a6811c21177c9994aa7dc35be67d46 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-01-13 10:01:01 +01:00
..
2017-08-14 15:01:13 +02:00
2018-02-25 11:07:56 +01:00
2017-05-10 19:13:03 -07:00
2017-05-10 19:13:03 -07:00
2017-05-10 19:13:03 -07:00
2016-11-25 15:12:27 +01:00
2018-10-10 08:54:19 +02:00
2017-08-14 15:01:12 +02:00
2017-08-14 15:01:12 +02:00
2017-05-29 11:09:01 +02:00
2018-05-16 10:10:26 +02:00
2018-02-03 17:38:52 +01:00
2016-11-24 16:19:02 +01:00
2017-03-16 21:52:07 +01:00
2017-04-28 09:47:46 +02:00
2018-11-21 09:24:17 +01:00
2017-05-23 10:02:01 +02:00
2016-09-13 10:35:56 +02:00
2016-09-13 10:35:56 +02:00
2018-02-25 11:07:56 +01:00
2017-01-26 15:27:37 +01:00
2017-06-21 09:36:46 +02:00
2017-01-26 15:27:37 +01:00
2017-11-02 11:10:55 +01:00
2017-08-01 13:43:55 +02:00
2017-04-28 10:09:16 +02:00
2017-11-02 11:10:55 +01:00
2017-08-14 15:01:12 +02:00
2017-04-20 12:02:32 +01:00
2017-08-14 15:01:12 +02:00
2016-11-13 11:50:22 +01:00
2017-05-22 17:18:19 +02:00
2017-01-26 10:00:20 +01:00
2018-02-03 17:38:52 +01:00
2017-08-14 15:03:38 +02:00
2016-09-23 15:10:00 +02:00
2017-01-26 15:27:37 +01:00
2017-07-31 15:26:57 +02:00
2016-09-13 10:35:56 +02:00
2016-09-12 14:23:37 +02:00
2016-08-10 15:40:44 +02:00
2017-05-23 11:33:59 +02:00
2018-12-29 13:39:09 +01:00
2017-08-14 16:06:24 +02:00
2017-08-14 15:03:38 +02:00
2018-10-03 17:00:53 -07:00
2017-06-16 11:13:11 +02:00
2018-09-19 22:43:42 +02:00
2016-12-30 09:18:10 +01:00
2017-03-23 09:49:06 +01:00
2018-12-13 09:18:48 +01:00
2017-08-14 15:01:12 +02:00
2017-08-14 15:03:38 +02:00
2019-01-13 10:01:01 +01:00
2017-08-21 00:09:33 +02:00
2018-11-10 07:48:34 -08:00
2017-10-07 13:17:07 +02:00
2016-09-15 13:57:43 +02:00
2017-08-14 15:01:12 +02:00
2017-05-23 11:35:02 +02:00
2017-08-21 00:08:52 +02:00
2017-03-28 11:13:59 +02:00
2016-09-13 10:35:56 +02:00
2017-08-31 13:57:57 +02:00
2018-09-26 08:38:12 +02:00
2017-08-14 15:01:12 +02:00
2017-03-24 14:05:00 +01:00
2017-03-24 14:04:37 +01:00
2016-09-13 10:35:56 +02:00
2017-03-15 11:16:36 +01:00
2016-08-23 11:23:41 +02:00
2017-08-21 00:06:04 +02:00
2018-02-03 17:38:48 +01:00
2016-12-30 09:18:10 +01:00
2017-08-14 15:01:12 +02:00
2017-01-26 15:27:37 +01:00
2018-09-19 22:43:38 +02:00
2018-04-12 12:32:20 +02:00
2016-09-13 10:35:56 +02:00
2016-09-13 10:35:56 +02:00
2017-01-26 15:27:37 +01:00
2016-09-13 10:35:56 +02:00
2017-08-14 15:37:38 +02:00
2016-10-21 14:55:07 +02:00
2016-09-13 10:35:56 +02:00
2017-09-04 14:41:02 +01:00
2017-08-23 10:20:16 +02:00
2017-08-14 15:01:12 +02:00
2017-08-14 15:03:39 +02:00
2017-01-26 15:27:37 +01:00
2017-07-07 13:30:05 -07:00
2017-03-23 11:45:55 +00:00
2016-09-13 10:35:56 +02:00
2017-01-26 15:27:37 +01:00
2017-05-10 19:13:03 -07:00
2017-03-06 14:35:22 +01:00
2017-08-14 15:01:12 +02:00
2017-03-16 21:52:10 +01:00
2017-05-22 17:48:41 +02:00
2017-08-23 09:21:54 +02:00
2017-03-16 21:52:10 +01:00
2017-08-14 16:01:06 +02:00
2018-12-29 13:39:09 +01:00
2018-01-02 20:31:04 +01:00
2016-07-04 16:51:29 +02:00
2018-10-10 08:54:20 +02:00
2017-09-05 11:49:48 -07:00
2018-12-01 09:42:50 +01:00
2018-09-26 08:38:12 +02:00
2017-09-19 09:39:10 +02:00
2017-11-02 11:10:55 +01:00