thermal/drivers/mediatek: Fix bank number settings on mt8183
authorMichael Kao <michael.kao@mediatek.com>
Mon, 23 Mar 2020 12:15:35 +0000 (20:15 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jul 2020 07:39:34 +0000 (09:39 +0200)
commitfda331c68b79f162a3fa17f45f5f76fc49b3d3e9
tree7f92791a6222c722d01c27857656151d18aa39a5
parent0376dddf54afbd28c27765aadf0afb299d6be32e
thermal/drivers/mediatek: Fix bank number settings on mt8183

[ Upstream commit 14533a5a6c12e8d7de79d309d4085bf186058fe1 ]

MT8183_NUM_ZONES should be set to 1
because MT8183 doesn't have multiple banks.

Fixes: a4ffe6b52d27 ("thermal: mediatek: add support for MT8183")
Signed-off-by: Michael Kao <michael.kao@mediatek.com>
Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200323121537.22697-6-michael.kao@mediatek.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/thermal/mtk_thermal.c