media: i2c: imx219: Declare that the driver can create events
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Mon, 16 Nov 2020 15:42:38 +0000 (16:42 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 25 Nov 2020 13:44:46 +0000 (14:44 +0100)
commitdefbac5d79b02e5c006e08f02a8f6fdcdca1a5db
tree235b8ff0c44eea5218a4534e52c1eaea1acfd920
parent8b7c7828a311a18932ca63228ff3745a86cb880a
media: i2c: imx219: Declare that the driver can create events

The flag V4L2_SUBDEV_FL_HAS_EVENTS is required if the subdev can
generate events. It can create events from the ctrl handler, therefore
this is required.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/imx219.c