Re: [PATCH v3] reset: core: honour optional resets when the GPIO fallback returns -ENOENT
From: Philipp Zabel
Date: Tue Nov 17 2026 - 08:39:33 EST
On Di, 2026-11-17 at 19:08 +0800, Yang Siyuan wrote:
> __fwnode_reset_control_get() honours RESET_CONTROL_FLAGS_BIT_OPTIONAL by
> returning NULL when the requested reset is not described in the device
> tree. The reset-gpio fallback breaks this: when
> __reset_add_reset_gpio_device() fails with -ENOENT, the error is returned
> even for an optional reset.
>
> [...]
Applied to reset/fixes, thanks!
[1/1] reset: core: honour optional resets when the GPIO fallback returns -ENOENT
https://git.kernel.org/pub/scm/linux/kernel/git/pza/linux.git/commit/?id=586a87701101
regards
Philipp