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

From: Brian Masney
Date: Mon Aug 21 2023 - 09:12:31 EST


On Fri, Aug 18, 2023 at 03:59:18PM +0200, Krzysztof Kozlowski wrote:
> On 18/08/2023 15:51, Krzysztof Kozlowski wrote:
> >> qcom-spmi-gpio c440000.spmi:pmic@2:gpio@8800: no hogs found
> >> qcom-spmi-gpio c440000.spmi:pmic@2:gpio@8800: error -EPROBE_DEFER: can't add gpio chip
> >> qcom-spmi-gpio c440000.spmi:pmic@2:gpio@8800: Driver qcom-spmi-gpio requests probe deferral
> >> platform c440000.spmi:pmic@2:gpio@8800: Added to deferred list
> >>
> >> The second time it probes the device is successfully added.
> >
> > There is a bug in DTS. I'll send a patch.
>
> https://lore.kernel.org/linux-arm-msm/20230818135538.47481-1-krzysztof.kozlowski@xxxxxxxxxx/T/#u

Thanks for sending that. I didn't look at the DTS. Let's just drop the
patch that I posted here since that message may help someone in the
future identify this same type of issue for another platform.

Brian