drm/tegra: dpaux: Fix incorrect return value of platform_get_irq
authorYangtao Li <frank.li@vivo.com>
Mon, 10 Jul 2023 03:23:49 +0000 (11:23 +0800)
committerThierry Reding <treding@nvidia.com>
Thu, 27 Jul 2023 16:41:59 +0000 (18:41 +0200)
commit2a1ca44b654346cadfc538c4fb32eecd8daf3140
treed703fa4ab711c05052120a15cdc7fa7ae9ce9444
parent829912ebdf47978f396d3added6fd215c36e2bd3
drm/tegra: dpaux: Fix incorrect return value of platform_get_irq

When platform_get_irq fails, we should return dpaux->irq
instead of -ENXIO.

Fixes: 6b6b604215c6 ("drm/tegra: Add eDP support")
Signed-off-by: Yangtao Li <frank.li@vivo.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230710032355.72914-13-frank.li@vivo.com
drivers/gpu/drm/tegra/dpaux.c