Dan Carpenter 51eea3a6fb
ASoC: mt6359: fix tests for platform_get_irq() failure
The platform_get_irq() returns negative error codes.  It can't actually
return zero, but if it did that should be treated as success.

Fixes: eef07b9e0925 ("ASoC: mediatek: mt6359: add MT6359 accdet jack driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/YvThhr86N3qQM2EO@kili
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-08-15 01:20:03 +01:00
..
2021-04-20 17:25:51 +01:00
2022-05-23 16:03:04 +02:00
2022-06-27 18:27:03 +01:00
2022-07-11 15:51:01 +01:00
2021-03-31 18:00:38 +01:00
2022-06-06 12:33:10 +01:00
2022-07-13 13:48:56 +01:00
2020-05-07 13:18:04 +01:00
2019-07-26 13:10:09 +01:00
2022-01-28 15:59:20 +00:00
2021-12-06 10:04:05 +01:00
2022-07-11 15:51:01 +01:00
2022-07-08 11:52:42 +01:00
2022-07-08 11:52:42 +01:00
2022-07-11 15:51:01 +01:00
2021-12-06 10:04:05 +01:00
2022-08-15 01:20:01 +01:00
2022-07-11 15:51:01 +01:00
2020-07-20 15:34:29 +01:00
2022-07-11 15:51:01 +01:00
2020-10-02 21:05:29 +01:00
2022-07-11 15:51:01 +01:00