]> git.baikalelectronics.ru Git - kernel.git/commit
thermal/drivers/hisi: Fix wrong platform_get_irq_byname()
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 30 Nov 2018 08:00:31 +0000 (09:00 +0100)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 11 Dec 2018 04:12:23 +0000 (20:12 -0800)
commitfb484c9d37126ca221afc9f26d9acb1e5f2d49f0
tree21af22b6a0e608d8535122cc272c1f661343fb4e
parent040365dedd26c4b11dfe5f61c260f498a9da8912
thermal/drivers/hisi: Fix wrong platform_get_irq_byname()

Without this patch, the thermal driver on hi6220 and hi3660 is broken.

That is due because part of the posted patchset was merged but a small
change in the DT was dropped.

The hi6220 and hi3660 do not have an interrupt name in the DT, so
finding interrupt by name fails.

Fix this by returning back to the platform_get_irq() function call.

Fixes: 7873d300f6ab (thermal/drivers/hisi: Use platform_get_irq_byname)
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/hisi_thermal.c