media: rcar-csi2: Propagate the FLD signal for NTSC and PAL
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Thu, 11 Apr 2019 20:34:44 +0000 (16:34 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 8 May 2019 17:59:49 +0000 (13:59 -0400)
commit9f7983bdc4925ae2c241ae3bf29b7a802055d069
tree1629b74d06439d043c121b06cca275f55a276d2d
parent4ab44ff0841b9a825f9875623d24809d29e37a10
media: rcar-csi2: Propagate the FLD signal for NTSC and PAL

Depending on which video standard is used the driver needs to setup the
hardware to correctly handle fields. If stream is identified as NTSC
or PAL setup field detection and propagate the field detection signal.

Later versions of the datasheet have been updated to make it clear
that FLD register should be set to 0 when dealing with non-interlaced
field formats.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/rcar-vin/rcar-csi2.c