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: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
4dbdc740c4
commit
3ff1f22c88
|
@ -841,6 +841,8 @@ static int tegra_sor_debugfs_init(struct tegra_sor *sor,
|
|||
goto free;
|
||||
}
|
||||
|
||||
sor->minor = minor;
|
||||
|
||||
return err;
|
||||
|
||||
free:
|
||||
|
|
Loading…
Reference in New Issue