projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b17a200
)
V4L/DVB: v4l: mem2mem_testdev: add missing release for video_device
author
Pawel Osciak
<p.osciak@samsung.com>
Fri, 10 Sep 2010 05:05:48 +0000
(
02:05
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Tue, 28 Sep 2010 01:22:09 +0000
(22:22 -0300)
Video device was not being released on driver remove.
Signed-off-by: Pawel Osciak <p.osciak@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mem2mem_testdev.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/mem2mem_testdev.c
b/drivers/media/video/mem2mem_testdev.c
index d31ec25650561cc8dcfb8c2f7ac9bef0d1ba3c11..a7210d981388e8c4724f524e3fd5c77bbd672dca 100644
(file)
--- a/
drivers/media/video/mem2mem_testdev.c
+++ b/
drivers/media/video/mem2mem_testdev.c
@@
-1014,6
+1014,7
@@
static int m2mtest_remove(struct platform_device *pdev)
v4l2_m2m_release(dev->m2m_dev);
del_timer_sync(&dev->timer);
video_unregister_device(dev->vfd);
+ video_device_release(dev->vfd);
v4l2_device_unregister(&dev->v4l2_dev);
kfree(dev);