Re: [PATCH -next] cpufreq: mediatek: fix error return code in mtk_cpu_dvfs_info_init()

From: AngeloGioacchino Del Regno
Date: Tue May 17 2022 - 09:33:28 EST


Il 17/05/22 15:34, Yang Yingliang ha scritto:
If regulator_get_voltage() fails, it should return the error code in
mtk_cpu_dvfs_info_init().

Fixes: 0daa47325bae ("cpufreq: mediatek: Link CCI device to CPU")
Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>

Thanks!

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>