gpu: ipu-v3: vdic: include AUTO field order bit in ipu_vdi_set_field_order
authorSteve Longerbeam <slongerbeam@gmail.com>
Sun, 21 May 2017 22:02:10 +0000 (15:02 -0700)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 8 Jun 2017 06:57:20 +0000 (08:57 +0200)
commitadd1318723a0d7b1ec974d2d9ba309cc24bb298a
treea524f3d0fa6cf158fcd87cbfaa2e5dccec91befb
parentffb40733fe432b00fa12ff486364dcfe6d7f247c
gpu: ipu-v3: vdic: include AUTO field order bit in ipu_vdi_set_field_order

The field order selection in VDIC_C register uses different bits
depending on whether the VDIC is receiving from a CSI ("AUTO") or
from memory ("MAN"). Since the VDIC cannot receive from both CSI
and memory at the same time, set or clear both field order bits to
cover both cases.

Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/ipu-vdi.c