On 2026-07-29T08:12:14, Pranav Sanwal <[email protected]> wrote:
> gpio: uclass: log when a gpio offset is already claimed
>
> dm_gpio_request() returns -EBUSY when the requested offset is already
> claimed, but gives no indication of which label already holds it. Any
> caller going through the uclass API directly, rather than the "gpio"
> command, has no way to see this at all.
>
> Log it at dev_dbg() level: silent by default, available when actively
> debugging with this device's debug output enabled.
>
> Signed-off-by: Pranav Sanwal <[email protected]>
>
> drivers/gpio/gpio-uclass.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to