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.
--
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm
Technologies, Inc. Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html