[PATCH] gpiolib: handle gpio-hogs only once
Daniel Drake
dan at reactivated.net
Sun Jun 7 23:37:26 PDT 2026
On 07/06/2026 22:56, Daniel Drake wrote:
> Closely approximate the previous behaviour by ensuring that each
> gpio-hog is processed only once. The handling of gpio-hogs on a DT node
> with multiple gpio_chips remains a bit incomplete/unclear, but this at
> least retains the ability to apply hogs to the first gpio_chip per node.
Sorry - this patch doesn't work as described - please don't apply.
Current code sets OF_POPULATED *before* trying to apply any gpio-hogs,
so this patch actually prevents all OF gpio-hogs from being applied.
I'll work on a revised version.
Daniel
More information about the linux-arm-kernel
mailing list