diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2020-08-14 01:06:53 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2020-09-17 12:29:39 +0200 |
commit | 3d2e7aec70130af53289eccd41696c15ce2c3e89 (patch) | |
tree | f0dfe4e99123b4a18e68a6de8719ce575884485a /include/asm-generic/cmpxchg.h | |
parent | 2340dc15f05f595688ae10f6512cef5ad51476d3 (diff) |
drm/tegra: output: Don't leak OF node on error
The OF node should be put before returning error in tegra_output_probe(),
otherwise node's refcount will be leaked.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/asm-generic/cmpxchg.h')
0 files changed, 0 insertions, 0 deletions