Commit 3ff1f22c authored by Thierry Reding's avatar 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: default avatarThierry Reding <treding@nvidia.com>
parent 4dbdc740
......@@ -841,6 +841,8 @@ static int tegra_sor_debugfs_init(struct tegra_sor *sor,
goto free;
}
sor->minor = minor;
return err;
free:
......
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