Thread (1 message) 1 message, 1 author, 12d ago

Re: [PATCH v4 3/3] gpio: mmio: track the direction of chips without direction registers

From: Mehmet Fide <hidden>
Date: 2026-09-03 07:59:42
Also in: imx, linux-gpio, lkml

From: Mehmet Fide <redacted>
[Severity: Medium]
Are we correctly parsing the packed pin configuration value here?
Yes: gpiochip_generic_get_config() hands back what
pinctrl_gpio_get_config() returns, the bare argument, so config is 0 or
1 here. The problem is the get_config() documentation in patch 2, which
says "packed" where the implementation says "argument"; a driver written
to that text would indeed break this check. Patch 2 gets the wording
fixed in v5, this patch stays as it is.

Mehmet
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help