Commit 123f01a0 authored by Thierry Reding's avatar Thierry Reding

drm/tegra: output: Do not put OF node twice

The original patch for commit 3d2e7aec ("drm/tegra: output: Don't
leak OF node on error") contained this hunk, but it was accidentally
dropped during conflict resolution. This causes use-after-free errors
on devices that use an I2C controller for HDMI DDC/CI on Tegra210 and
later.

Fixes: 3d2e7aec ("drm/tegra: output: Don't leak OF node on error")
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 41f71629
......@@ -129,7 +129,6 @@ int tegra_output_probe(struct tegra_output *output)
if (!output->ddc) {
err = -EPROBE_DEFER;
of_node_put(ddc);
return err;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment