[media] coda: do not enumerate YUYV if VDOA is not available
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 6 Apr 2017 14:03:40 +0000 (11:03 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 10 Apr 2017 17:42:45 +0000 (14:42 -0300)
commit9d826ce8122fc634c1b67bc6f8985ccfbd565d86
tree72717594ede1d827ac76ce1c7f2b371e055a2a8a
parent0866df8dffd514185bfab0d205db76e4c02cf1e4
[media] coda: do not enumerate YUYV if VDOA is not available

TRY_FMT already disables the YUYV format if the VDOA is not available.
ENUM_FMT must do the same.

Fixes: d40e98c13b3e ("[media] coda: support YUYV output if VDOA is used")

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/coda/coda-common.c