projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ff1f22
)
drm/tegra: sor: Reset the correct debugfs fields
author
Thierry Reding
<treding@nvidia.com>
Fri, 3 Jul 2015 12:16:30 +0000
(14:16 +0200)
committer
Thierry Reding
<treding@nvidia.com>
Thu, 13 Aug 2015 11:47:55 +0000
(13:47 +0200)
When tearing down debugfs support, make sure to reset the fields to NULL
in the correct order, otherwise the debugfs root will not be properly
removed.
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/sor.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/tegra/sor.c
b/drivers/gpu/drm/tegra/sor.c
index 18b4d892bce26e30c025adfc2ed674f8fc2ec24c..bad63d0f5f13f8938b346abc002fac8bd25b29af 100644
(file)
--- a/
drivers/gpu/drm/tegra/sor.c
+++ b/
drivers/gpu/drm/tegra/sor.c
@@
-861,10
+861,10
@@
static void tegra_sor_debugfs_exit(struct tegra_sor *sor)
sor->minor = NULL;
kfree(sor->debugfs_files);
- sor->debugfs = NULL;
+ sor->debugfs
_files
= NULL;
debugfs_remove_recursive(sor->debugfs);
- sor->debugfs
_files
= NULL;
+ sor->debugfs = NULL;
}
static void tegra_sor_connector_dpms(struct drm_connector *connector, int mode)