Skip to content

Commit

Permalink
xmc: remove warn message for clk scaling not enabled case (Xilinx#2792)
Browse files Browse the repository at this point in the history
Removing warning message and make it debug print. Otherwise,
it is creating confusion to the user in certain test cases.

CR-1053867

Signed-off-by: Rajkumar Rampelli <[email protected]>
  • Loading branch information
rajkumar-xilinx authored Feb 7, 2020
1 parent e6f6d2c commit 31965be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime_src/core/pcie/driver/linux/xocl/subdev/xmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@ static bool scaling_condition_check(struct xocl_xmc *xmc, struct device *dev)
if (!XMC_PRIVILEGED(xmc)) {
xocl_dbg(dev, "runtime clock scaling is not supported in non privileged mode\n");
} else if (xmc->cs_on_ptfm) {
xocl_warn(dev, "runtime clock scaling is not enabled\n");
xocl_dbg(dev, "runtime clock scaling is not enabled\n");
return true;
} else {
xocl_warn(dev, "runtime clock scaling is not supported\n");
Expand Down

0 comments on commit 31965be

Please sign in to comment.