diff --git a/drivers/gpu/drm/tegra/sor.c b/drivers/gpu/drm/tegra/sor.c index 5c67d97bd21d31c76812e4656ece1714c6971fa9..06f80091773818ec6ee9b4c7332da9d34999bf06 100644 --- a/drivers/gpu/drm/tegra/sor.c +++ b/drivers/gpu/drm/tegra/sor.c @@ -1036,7 +1036,7 @@ static int tegra_sor_debugfs_init(struct tegra_sor *sor, struct dentry *root) static int tegra_sor_debugfs_exit(struct tegra_sor *sor) { - debugfs_remove(sor->debugfs); + debugfs_remove_recursive(sor->debugfs); sor->debugfs = NULL; return 0;