Sergey Shtylyov
a0a9ecca2d
i2c: mt65xx: fix IRQ check
...
[ Upstream commit 58fb7c643d346e2364404554f531cfa6a1a3917c ]
Iff platform_get_irq() returns 0, the driver's probe() method will return 0
early (as if the method's call was successful). Let's consider IRQ0 valid
for simplicity -- devm_request_irq() can always override that decision...
Fixes: ce38815d39ea ("I2C: mediatek: Add driver for MediaTek I2C controller")
Signed-off-by: Sergey Shtylyov <s.shtylyov@omprussia.ru>
Reviewed-by: Qii Wang <qii.wang@mediatek.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-15 09:47:36 +02:00
..
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-06-05 17:37:16 +02:00
2020-06-07 13:18:50 +02:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-06-05 17:37:10 +02:00
2020-05-06 08:15:08 +02:00
2019-03-25 15:21:17 +01:00
2019-03-25 15:21:17 +01:00
2020-10-01 13:18:14 +02:00
2019-08-01 22:24:16 +02:00
2019-08-01 22:24:16 +02:00
2019-03-24 22:41:51 +01:00
2019-03-27 14:09:53 +01:00
2019-05-30 11:26:37 -07:00
2019-08-29 21:07:30 +02:00
2020-01-17 19:48:17 +01:00
2021-03-04 10:26:27 +01:00
2021-03-04 10:26:39 +01:00
2021-05-14 09:44:29 +02:00
2019-02-08 22:18:51 +01:00
2019-09-04 23:11:26 +02:00
2020-10-07 08:01:29 +02:00
2019-09-02 11:33:42 +01:00
2019-05-30 11:26:37 -07:00
2018-10-30 09:15:31 -07:00
2019-03-20 17:57:18 +01:00
2019-03-20 17:57:18 +01:00
2019-08-06 22:23:24 +02:00
2020-03-18 07:17:53 +01:00
2020-04-21 09:05:02 +02:00
2019-08-29 20:47:42 +02:00
2019-06-19 17:09:55 +02:00
2019-06-05 17:37:10 +02:00
2019-06-05 17:37:10 +02:00
2019-06-19 17:09:55 +02:00
2020-07-22 09:32:53 +02:00
2019-05-30 11:26:37 -07:00
2021-05-14 09:44:29 +02:00
2019-09-04 23:13:16 +02:00
2020-06-30 15:37:02 -04:00
2020-03-18 07:17:56 +01:00
2021-09-15 09:47:32 +02:00
2020-04-01 11:01:56 +02:00
2019-05-30 11:26:37 -07:00
2021-06-03 08:59:07 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2020-06-24 17:50:41 +02:00
2021-05-14 09:44:29 +02:00
2021-05-14 09:44:29 +02:00
2020-12-11 13:23:31 +01:00
2021-09-15 09:47:35 +02:00
2019-07-15 21:10:39 -07:00
2019-05-30 11:26:41 -07:00
2019-08-01 14:48:55 +02:00
2021-05-14 09:44:29 +02:00
2019-06-05 17:36:38 +02:00
2019-05-30 11:26:32 -07:00
2020-10-14 10:33:01 +02:00
2020-07-09 09:37:54 +02:00
2021-06-16 11:59:38 +02:00
2021-09-15 09:47:36 +02:00
2019-07-06 17:04:32 +02:00
2018-03-17 21:20:04 +01:00
2020-09-23 12:40:43 +02:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-06-19 17:09:55 +02:00
2020-04-01 11:02:10 +02:00
2019-08-29 22:12:19 +02:00
2021-01-27 11:47:47 +01:00
2018-03-02 11:11:15 +01:00
2017-08-29 22:26:08 +02:00
2021-05-14 09:44:29 +02:00
2019-05-24 17:39:01 +02:00
2020-10-14 10:33:01 +02:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:41 -07:00
2019-05-30 11:26:37 -07:00
2020-04-17 10:49:59 +02:00
2020-06-24 17:50:08 +02:00
2018-08-04 23:25:06 +02:00
2018-05-17 16:27:59 +02:00
2019-05-30 11:26:37 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:10 +02:00
2020-06-24 17:50:24 +02:00
2021-06-10 13:37:16 +02:00
2020-12-11 13:23:33 +01:00
2021-03-17 17:03:41 +01:00
2019-09-28 20:44:12 +02:00
2019-06-19 17:09:55 +02:00
2021-06-30 08:47:50 -04:00
2021-09-15 09:47:35 +02:00
2019-06-05 17:37:10 +02:00
2021-05-14 09:44:30 +02:00
2021-06-03 08:59:08 +02:00
2019-05-30 11:26:37 -07:00
2019-06-19 17:09:07 +02:00
2019-05-21 11:28:40 +02:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2021-05-14 09:44:29 +02:00
2020-04-17 10:49:59 +02:00
2020-01-26 10:01:06 +01:00
2019-08-14 14:56:54 +02:00
2018-02-27 13:51:05 +01:00
2021-02-17 10:35:18 +01:00
2019-05-30 11:29:22 -07:00
2017-08-14 21:40:21 +02:00
2019-09-03 20:17:27 +02:00
2019-09-24 16:48:02 -07:00
2021-01-27 11:47:39 +01:00
2020-10-01 13:17:59 +02:00
2017-11-02 00:01:31 +01:00
2019-06-05 17:37:10 +02:00
2019-09-05 22:34:37 +02:00
2019-09-05 22:34:37 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:32 -07:00
2019-05-24 17:36:47 +02:00
2019-05-21 11:28:45 +02:00
2019-06-08 00:24:07 +02:00
2018-08-09 17:41:13 +02:00
2018-08-04 23:25:08 +02:00
2019-06-19 17:09:55 +02:00
2020-10-29 09:57:53 +01:00
2019-08-29 21:04:11 +02:00
2019-05-30 11:26:37 -07:00