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 <quic_jeykumar@quicinc.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
مرجع در شماره جدید
Block a user