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:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user