diff options
author | Thierry Reding <treding@nvidia.com> | 2015-07-03 14:14:29 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2015-08-13 13:47:53 +0200 |
commit | 3ff1f22c882493dcceb25cbca5b516d8e4271151 (patch) | |
tree | cd671dc4e0375ff70d1cf9de5ac0838174d613f3 /drivers/gpu/drm/tegra | |
parent | 4dbdc740c4beec653920e81470a6e6d69c6ab064 (diff) | |
download | blackbird-op-linux-3ff1f22c882493dcceb25cbca5b516d8e4271151.tar.gz blackbird-op-linux-3ff1f22c882493dcceb25cbca5b516d8e4271151.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/tegra')
-rw-r--r-- | drivers/gpu/drm/tegra/sor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/sor.c b/drivers/gpu/drm/tegra/sor.c index 7df7328f9fed..18b4d892bce2 100644 --- 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: |