[media] media: Add flags to tell whether to take graph mutex for an IOCTL
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 27 Apr 2016 13:15:52 +0000 (10:15 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 22 Sep 2016 13:28:40 +0000 (10:28 -0300)
commit7d4b64028c4bc8db01047b852777dbded4635de6
tree08a63db23ee19c00d518d35708e00a21396cd595
parentbcd5081b05367d108c1380369c698a4601c41cfc
[media] media: Add flags to tell whether to take graph mutex for an IOCTL

New IOCTLs (especially for the request API) do not necessarily need the
graph mutex acquired. Leave this up to the drivers.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/media-device.c