diff options
| author | Hans Verkuil <hans.verkuil@cisco.com> | 2015-03-05 23:33:17 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-05-01 13:44:08 +0300 |
| commit | 949bd4081ffe953af98b6ac7ebe0a8d59996fce9 (patch) | |
| tree | 018ee1704dde81accd23f10c50042b24f0673f0b /include/linux | |
| parent | 87d184300d6c50050b88d2d8a3aaab11eaa0c872 (diff) | |
| download | linux-949bd4081ffe953af98b6ac7ebe0a8d59996fce9.tar.xz | |
[media] marvell-ccic: use vb2 helpers and core locking
Use the V4L2 core locking system instead of rolling your own. Switch to
the vb2 fop and ioctl helpers to get rid of a lot of code. This also made
it easy to add VB2_READ to the DMA modes, since you get read() for free
with vb2 and these helpers.
Finally remove the users field: this information is also available from
the core framework, no need to keep track of it in the driver.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
