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:
4dbdc74
)
drm/tegra: sor: Set minor after debugfs initialization
author
Thierry Reding
<treding@nvidia.com>
Fri, 3 Jul 2015 12:14:29 +0000
(14:14 +0200)
committer
Thierry Reding
<treding@nvidia.com>
Thu, 13 Aug 2015 11:47:53 +0000
(13:47 +0200)
The DRM minor is needed to teardown debugfs, so it needs to be tracked
to prevent a crash on driver removal.
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 7df7328f9fedc165f7fa13c231f0f353ef38dad7..18b4d892bce26e30c025adfc2ed674f8fc2ec24c 100644
(file)
--- a/
drivers/gpu/drm/tegra/sor.c
+++ b/
drivers/gpu/drm/tegra/sor.c
@@
-841,6
+841,8
@@
static int tegra_sor_debugfs_init(struct tegra_sor *sor,
goto free;
}
+ sor->minor = minor;
+
return err;
free: