media: add flags field to struct media_v2_entity
authorHans Verkuil <hansverk@cisco.com>
Wed, 28 Feb 2018 10:41:11 +0000 (05:41 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 25 Jul 2018 11:46:24 +0000 (07:46 -0400)
commit588f4ee7e6fc5c9a0fb07c7051cdd341949e0feb
treeefc77a7eb88653e3727d030343d8ba067b6d6454
parentb0549006263efd59e22518eda230040ffee71b93
media: add flags field to struct media_v2_entity

The v2 entity structure never exposed the entity flags, which made it
impossible to detect connector or default entities.

It is really trivial to just expose this information, so implement this.

Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/media-device.c
include/uapi/linux/media.h