提交 3ff1f22c 编写于 作者: T Thierry Reding

drm/tegra: sor: Set minor after debugfs initialization

The DRM minor is needed to teardown debugfs, so it needs to be tracked
to prevent a crash on driver removal.
Signed-off-by: NThierry Reding <treding@nvidia.com>
上级 4dbdc740
...@@ -841,6 +841,8 @@ static int tegra_sor_debugfs_init(struct tegra_sor *sor, ...@@ -841,6 +841,8 @@ static int tegra_sor_debugfs_init(struct tegra_sor *sor,
goto free; goto free;
} }
sor->minor = minor;
return err; return err;
free: free:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册