Sergey Shtylyov 58fb7c643d i2c: mt65xx: fix IRQ check
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>
2021-08-25 23:00:09 +02:00
..
2020-09-27 15:14:16 +02:00
2021-04-14 10:20:00 +02:00
2021-01-05 17:30:45 +01:00
2021-08-19 19:18:24 +02:00
2021-08-19 19:18:17 +02:00
2021-04-14 10:20:45 +02:00
2021-07-20 22:32:01 +02:00
2021-08-25 23:00:09 +02:00
2021-05-28 09:50:43 +02:00
2021-06-20 22:40:44 +02:00
2021-08-19 19:18:24 +02:00
2021-04-17 22:00:58 +02:00
2021-01-28 10:03:58 +01:00