Skip to content
Snippets Groups Projects
Commit b7a82cfb authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Sasha Levin
Browse files

drm/tegra: output: Fix missing i2c_put_adapter() in the error handling paths...

drm/tegra: output: Fix missing i2c_put_adapter() in the error handling paths of tegra_output_probe()

[ Upstream commit 2db4578e ]

If an error occurs after a successful of_get_i2c_adapter_by_node() call, it
should be undone by a corresponding i2c_put_adapter().

Add the missing i2c_put_adapter() call.

Fixes: 9be7d864 ("drm/tegra: Implement panel support")
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/b38604178991e1f08b2cda219103be266be2d680.1693667005.git.christophe.jaillet@wanadoo.fr


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f95401a5
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment