Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3ff1f22c authored by Thierry Reding's avatar Thierry Reding
Browse files

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -841,6 +841,8 @@ static int tegra_sor_debugfs_init(struct tegra_sor *sor,
		goto free;
	}

	sor->minor = minor;

	return err;

free: