commit | b95800eeef09f4853904ec4e926d098f1ca4698a | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Wed Nov 08 13:40:54 2017 +0100 |
committer | Thierry Reding <treding@nvidia.com> | Wed Dec 13 13:42:07 2017 +0100 |
tree | 91252115f544f109d1360bda9d4750cb95992e3c | |
parent | c49c81e21ce1a646c1402597d12137c679ac7f71 [diff] |
drm/tegra: dc: 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: Thierry Reding <treding@nvidia.com>