Skip to content
Commit 5b8e043b authored by Thierry Reding's avatar Thierry Reding
Browse files

drm/tegra: sor: Register debugfs in ->late_register()



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: default avatarThierry Reding <treding@nvidia.com>
parent d92e6009
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment