]> git.baikalelectronics.ru Git - kernel.git/commit
media: v4l2-device.h: add v4l2_device_supports_requests() helper
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 23 May 2018 11:11:06 +0000 (07:11 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 31 Aug 2018 15:07:26 +0000 (11:07 -0400)
commit769dfe6e5847cd66e64b68c5dc678817578c04d1
tree0f24b743fe509b3010fa0a557580783a92706f3c
parentcd1aacbaa3be27b111bb774ac0c012c1c3e1b016
media: v4l2-device.h: add v4l2_device_supports_requests() helper

Add a simple helper function that tests if the driver supports
the request API.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
include/media/v4l2-device.h