mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
staging: vc-sm-cma: Remove the debugfs directory on remove
Without removing that, reloading the driver fails. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
This commit is contained in:
committed by
popcornmix
parent
e1ce5fc02b
commit
84d46c189f
@@ -757,7 +757,7 @@ static int bcm2835_vc_sm_cma_remove(struct platform_device *pdev)
|
||||
pr_debug("[%s]: start\n", __func__);
|
||||
if (sm_inited) {
|
||||
/* Remove all proc entries. */
|
||||
//debugfs_remove_recursive(sm_state->dir_root);
|
||||
debugfs_remove_recursive(sm_state->dir_root);
|
||||
|
||||
/* Stop the videocore shared memory service. */
|
||||
vc_sm_cma_vchi_stop(&sm_state->sm_handle);
|
||||
|
||||
Reference in New Issue
Block a user