On 6/27/24 10:49 AM, Christophe Roullier wrote:
Second parameter of syscfg property (mask) is mandatory for MP13 but
optional for all other cases so need to re init err to 0 for this case
to avoid parse issue.
What parse issue ? Please expand this part of the commit message.
Basically if this is not MP13, and the dev_dbg() is hit, the function
should not return error code because for non-MP13 the missing syscfg
phandle in DT is not considered an error. So reset err to 0 in that case
to support existing DTs without syscfg phandle.
With the commit message updated:
Reviewed-by: Marek Vasut <marex@xxxxxxx>
[...]