]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Sep 2023 10:22:38 +0000 (12:22 +0200)
commit4197eeb55f4b8ca183345c2ed974cc0b3853829e
tree1bba156bb9644e668d48cef7f82eb432d63574cf
parent9712279e9743e3d19db0088d40153235edce34b4
drm/tegra: dpaux: Fix incorrect return value of platform_get_irq

[ Upstream commit 2a1ca44b654346cadfc538c4fb32eecd8daf3140 ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/tegra/dpaux.c