Skip to content

Commit

Permalink
drm/tegra: hdmi: 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 a813d70 commit 1d60047
Showing 1 changed file with 245 additions and 265 deletions.
Loading

0 comments on commit 1d60047

Please sign in to comment.