[media] tc358743: Add enum_mbus_code
authorDave Stevenson <dave.stevenson@raspberrypi.org>
Fri, 2 Jun 2017 12:18:12 +0000 (09:18 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 7 Jun 2017 12:29:48 +0000 (09:29 -0300)
commit3cb0fe6f74e566b1e4df81f518db16cedb268fc5
treedf06c1f9f03dc57bfc8f1f967d97754447e0eefa
parenta7a04b5b2c6e060c80cd9617b351ffbd618fc587
[media] tc358743: Add enum_mbus_code

There was no way to query the supported mbus formats from this
driver. enum_mbus_code is the function to expose that, so
implement it.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/tc358743.c