media: imx: capture: Allow event subscribe/unsubscribe
authorSteve Longerbeam <slongerbeam@gmail.com>
Tue, 15 Jan 2019 19:16:08 +0000 (17:16 -0200)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 21 Jan 2019 18:45:33 +0000 (16:45 -0200)
commit54f4bc2f2aada71a681b79b64cf74ca6e8c5d26c
treeebbf30a47f44223d5ddc884378e1604ea1816d5a
parent958f047a250ae9000308de050e4285ecff5089cf
media: imx: capture: Allow event subscribe/unsubscribe

Implement the vidioc_(un)subscribe_event operations. Imx will allow
subscribing to the imx-specific frame interval error events, events
from subdevices (V4L2_EVENT_SOURCE_CHANGE), and control events.

Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/staging/media/imx/imx-media-capture.c