media: v4l2-subdev: convert frame description to enum
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 5 Oct 2017 20:32:30 +0000 (16:32 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 18 Dec 2017 19:15:48 +0000 (14:15 -0500)
commitbb92895a1c68569055106a6d9bf5c330e5e6a371
tree7b3e863143383715f1b8ce2e75cdb321e2039e42
parent4eb2f55728abbe5adb526a9553752d0add5a9550
media: v4l2-subdev: convert frame description to enum

As kernel-doc doesn't support documenting #define values,
and using enum makes easier to identify where the values
are used, convert V4L2_MBUS_FRAME_DESC_FL_* to enum, and
use BIT() macro.

While here, fix the description at v4l2_mbus_frame_desc_entry,
in order to match what's described for
V4L2_MBUS_FRAME_DESC_FL_LEN_MAX.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
include/media/v4l2-subdev.h