Re: [PATCH] pinctrl: qcom-pmic-gpio: silence -EPROBE_DEFER message on probe

From: Konrad Dybcio
Date: Thu Aug 17 2023 - 11:02:24 EST


On 17.08.2023 16:59, Brian Masney wrote:
> The following message shows up one or more times when booting a Qualcomm
> SA8775 Development board:
>
> qcom-spmi-gpio c440000.spmi:pmic@2:gpio@8800: can't add gpio chip
>
> Convert this over to use dev_err_probe() to silence this message.
>
> Signed-off-by: Brian Masney <bmasney@xxxxxxxxxx>
> ---
That looks odd, why would it ever defer?

SPMI should be up by the time it gets a chance to probe.

Konrad