MGS-4105 [#imx-1104] fix OPP failure log in gpu kernel

not a problem without operating-points in gpu device entry,
need disable error message for frequency scaling failure.

Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
This commit is contained in:
Xianzhong
2018-07-30 21:17:02 +08:00
committed by Jason Liu
parent f9cd9aa58a
commit 7103962dbc

View File

@ -511,8 +511,7 @@ int init_gpu_opp_table(struct device *dev)
prop = of_find_property(dev->of_node, "operating-points", NULL);
if (!prop) {
dev_err(dev, "operating-points missing. Frequency scaling will not work\n");
return -ENODEV;
return 0;
}
if (!prop->value) {