projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87fb0b6
)
VPU: use debugfs_remove_recursive to recursive remove
author
Alpha Lin
<alpha.lin@rock-chips.com>
Thu, 4 Jun 2015 09:24:59 +0000
(17:24 +0800)
committer
Alpha Lin
<alpha.lin@rock-chips.com>
Thu, 4 Jun 2015 09:26:41 +0000
(17:26 +0800)
debugfs node.
Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
arch/arm/mach-rockchip/vcodec_service.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rockchip/vcodec_service.c
b/arch/arm/mach-rockchip/vcodec_service.c
index 867a14a0007b008898ab600d6a43052ff11a4820..48803f83ef4dc9d4694dee2850d3e4b4b2c709e3 100755
(executable)
--- a/
arch/arm/mach-rockchip/vcodec_service.c
+++ b/
arch/arm/mach-rockchip/vcodec_service.c
@@
-2235,8
+2235,7
@@
static void vcodec_subdev_remove(struct vpu_subdev_data *data)
free_irq(data->irq_dec, (void *)&data);
#ifdef CONFIG_DEBUG_FS
- debugfs_remove(data->debugfs_file_regs);
- debugfs_remove(data->debugfs_dir);
+ debugfs_remove_recursive(data->debugfs_dir);
#endif
}