commit | 87c674e24362cf0f8d5b70d2e20f6160045fd753 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Fri Mar 13 07:41:05 2015 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Thu Apr 02 21:08:04 2015 -0300 |
tree | fea4f19a0abf5efa6f52f43a77e4783854d58f56 | |
parent | f46d740fb0258982f00ffdbddc6486e674edafb5 [diff] |
[media] vivid: use v4l2_device.release to clean up the driver Use the release callback of the v4l2_device to clean up the memory. This prevents vivid from breaking if someone tries to unbind the driver. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>