Re: [PATCH] input: gpio-keys: initialize the input value with the current gpioval

Sascha Hauer <[email protected]>
Newsgroups org.infradead.lists.barebox
Message-ID <[email protected]>
On Thu, 02 Jul 2026 10:17:19 +0200, Sascha Hauer wrote:
> This is required for deep-probe systems which probe the "gpio-keys"
> device on demand. In such case the input value is not yet accessible
> once the probe finished because the first gpio reads happen
> asynchronously to the probe function. However, board code queries the
> input device value directly after the of.*ensure.*probed().
> 
> Therefore provide a sane default by reading the gpio value during probe
> and init the input device value.
> 
> [...]

Applied, thanks!

[1/1] input: gpio-keys: initialize the input value with the current gpioval
      https://git.pengutronix.de/cgit/barebox/commit/?id=7992d842898d (link may not be stable)

Best regards,
-- 
Sascha Hauer <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.