Re: [PATCH 1/6] ASoC: samsung: aries_wm8994: Preserve gpiod_to_irq() error codes
From: Cezary Rojewski
Date: Tue Aug 11 2026 - 09:22:42 EST
On 8/11/2026 11:05 AM, phucduc.bui@xxxxxxxxx wrote:
From: bui duc phuc <phucduc.bui@xxxxxxxxx>Reviewed-by: Cezary Rojewski <cezary.rojewski@xxxxxxxxx>
gpiod_to_irq() can currently return several error codes, including
-ENXIO, -ENODEV, -EPROBE_DEFER, and -EINVAL.
Return the original error code instead of overwriting it with -EINVAL,
so that the actual failure reason is preserved.