Re: [PATCH v5 2/6] pinctrl: qcom: Register functions before enabling pinctrl
From: MINETTE Alexandre
Date: Sun Aug 30 2026 - 03:54:03 EST
Hi Bartosz,
It seems the patch has already been applied to linux-next with commit 981aefd53b3cdafae0e45332a1023b80d67f52be, so there's nothing to do, sorry for the confusion
--
MINETTE Alexandre
contact@xxxxxxxxxxx
Lun 10 août 2026, à 13:09, Bartosz Golaszewski a écrit :
> On Tue, 4 Aug 2026 08:34:27 +0200, Alexandre MINETTE via B4 Relay
> <devnull+contact.alex-min.fr@xxxxxxxxxx> said:
>> From: Alexandre MINETTE <contact@xxxxxxxxxxx>
>>
>> pinctrl consumers can request states while the pinctrl core enables the
>> controller. On Qualcomm pinctrl drivers this can happen before the SoC
>> function list has been registered, which leaves the function table
>> incomplete during state lookup.
>>
>> On APQ8064 this can fail while claiming pinctrl hogs:
>>
>> apq8064-pinctrl 800000.pinctrl: invalid function ps_hold in map table
>> apq8064-pinctrl 800000.pinctrl: error claiming hogs: -22
>> apq8064-pinctrl 800000.pinctrl: could not claim hogs: -22
>>
>> Register Qualcomm pinctrl with devm_pinctrl_register_and_init(), add the
>> SoC pin functions, and only then enable the pinctrl device.
>>
>> Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
>> Signed-off-by: Alexandre MINETTE <contact@xxxxxxxxxxx>
>> ---
>
> This doesn't apply on top of current linux-next. Can you rebase, resend this
> as a separate patch and add the Cc: stable and Fixes: tags?
>
> Bart