5c2db21fe0c590daa5ccc8428af39ea521bef481
[openwrt/staging/wigyori.git] /
1 From f1f3f1b583226c7a4a590feb2adf25c41ccdd8e5 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.org>
3 Date: Fri, 8 Mar 2019 10:49:17 +0000
4 Subject: [PATCH 372/782] staging: vc-sm-cma: Remove the debugfs directory on
5 remove
6
7 Without removing that, reloading the driver fails.
8
9 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
10 ---
11 drivers/staging/vc04_services/vc-sm-cma/vc_sm.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14 --- a/drivers/staging/vc04_services/vc-sm-cma/vc_sm.c
15 +++ b/drivers/staging/vc04_services/vc-sm-cma/vc_sm.c
16 @@ -757,7 +757,7 @@ static int bcm2835_vc_sm_cma_remove(stru
17 pr_debug("[%s]: start\n", __func__);
18 if (sm_inited) {
19 /* Remove all proc entries. */
20 - //debugfs_remove_recursive(sm_state->dir_root);
21 + debugfs_remove_recursive(sm_state->dir_root);
22
23 /* Stop the videocore shared memory service. */
24 vc_sm_cma_vchi_stop(&sm_state->sm_handle);