Skip to content

Commit

Permalink
drm/tegra: dc: Register debugfs in ->late_register()
Browse files Browse the repository at this point in the history
The ->late_register() and ->early_unregister() callbacks are called at
the right time to make sure userspace only accesses interfaces when it
should. Move debugfs registration and unregistration to these callback
functions to avoid potential races with userspace.

Signed-off-by: Thierry Reding <treding@nvidia.com>
  • Loading branch information
Thierry Reding committed Dec 13, 2017
1 parent c49c81e commit b95800e
Show file tree
Hide file tree
Showing 2 changed files with 546 additions and 576 deletions.
Loading

0 comments on commit b95800e

Please sign in to comment.