Explorar o código

disp: msm: dsi: mitigate errors on non-parsed regulator nodes

Mitigate errors to debug logs on non-parsed regulator look ups. Callers
can make use of the return value to handle failures.

Change-Id: Ib0ed869e92104ac7e859484b247ac99bf332fa5c
Signed-off-by: Jeykumar Sankaran <[email protected]>
Jeykumar Sankaran %!s(int64=3) %!d(string=hai) anos
pai
achega
a8b968f64b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      msm/dsi/dsi_pwr.c

+ 1 - 1
msm/dsi/dsi_pwr.c

@@ -443,7 +443,7 @@ int dsi_pwr_panel_regulator_mode_set(struct dsi_regulator_info *regs,
 	}
 
 	if (i >= regs->count) {
-		DSI_ERR("Regulator %s was not found\n", reg_name);
+		DSI_DEBUG("Regulator %s was not found\n", reg_name);
 		return -EINVAL;
 	}