1
0
Fork 0

vpu: hantro: fix build error when enabling 'CONFIG_DEVICE_THERMAL'

comment undefined function hantro_update_voltage() which was already disabled due to other build issues.

Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Zhou Peng 2019-08-07 12:01:28 +08:00 committed by Dong Aisheng
parent 92e1bbb20a
commit 3ca2128468
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ static int hantro_thermal_check(struct device *dev)
}
pr_info("hantro: event(%d), g1, g2, bus clock: %ld, %ld, %ld\n", thermal_cur,
clk_get_rate(hantro_clk_g1), clk_get_rate(hantro_clk_g2), clk_get_rate(hantro_clk_bus));
hantro_update_voltage(dev);
//hantro_update_voltage(dev);
return 0;
}