]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
soc: mediatek: mtk-dvfsrc: Change error check for DVFSRCv4 START cmd
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 24 Nov 2025 11:06:53 +0000 (12:06 +0100)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 8 Jan 2026 09:27:49 +0000 (10:27 +0100)
commit23f1b4922a9135515e37d3bbad766e311845071f
treed7f5523591ecb3f98e8805bb81bec547c8c46bc0
parent831ee17036e259da23a6313e28a3cbdda221a88c
soc: mediatek: mtk-dvfsrc: Change error check for DVFSRCv4 START cmd

In preparation for adding support for DVFSRC Version 4, change the
error check for the MTK_SIP_DVFSRC_START command in the probe
function to error out only if BIT(0) is set: this is still valid
for the previous DVFSRC versions, as those always set this bit in
a fail reply anyway.

Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
drivers/soc/mediatek/mtk-dvfsrc.c