Nicolas Boichat a177276aa0 mfd: mt6397: Do not call irq_domain_remove if PMIC unsupported
If the PMIC ID is unknown, the current code would call
irq_domain_remove and panic, as pmic->irq_domain is only
initialized by mt6397_irq_init.

Return immediately with an error, if the chip ID is unsupported.

Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2019-01-03 08:32:42 +00:00
..
2016-11-29 08:21:33 +00:00
2018-07-04 07:17:13 +01:00
2018-06-12 16:19:22 -07:00
2017-07-18 08:27:18 +01:00
2016-08-10 09:25:18 +01:00
2016-08-10 09:25:18 +01:00
2015-08-11 15:09:01 +01:00
2015-09-04 11:46:02 -07:00