]> git.hungrycats.org Git - linux/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>
Wed, 13 Sep 2023 07:48:15 +0000 (09:48 +0200)
commit39f5dc484ea284a159a5981e152cee7c4476921b
tree068ec72795a265f7ebf9ceb3ed968ae858a6d63b
parent560462e45bba52ce94e9e55d21b7a43285d12c46
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