Re: [PATCH 3/3] [v6] pinctrl: qcom: qdf2xxx: add support for new ACPI HID QCOM8002

Timur Tabi
2017-12-19T22:56:45Z

On 12/18/2017 08:39 PM, Stephen Boyd wrote:
> + if (gpios && gpios[j] != i)
> + continue;
...
> + j++;

Doesn't this assume that the available GPIOs are listed in numerical
order in the ACPI table? If so, then this patch won't work because that
order is not guaranteed.