ARM: davinci: dm646x evm: wrong register used in setup_vpif_input_channel_mode
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 14 Nov 2011 18:20:49 +0000 (19:20 +0100)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 16 Jan 2013 21:45:02 +0000 (16:45 -0500)
commit99a99c44ad2eacb1ff6faa603176ccdb11088696
treed3e0a35568e95097c04606f0d141f8a1c96aa875
parent3c49ac0cf82ece4c02784528cdfce7c6748254d2
ARM: davinci: dm646x evm: wrong register used in setup_vpif_input_channel_mode

commit 83713fc9373be2e943f82e9d36213708c6b0050e upstream.

The function setup_vpif_input_channel_mode() used the VSCLKDIS register
instead of VIDCLKCTL. This meant that when in HD mode videoport channel 0
used a different clock from channel 1.

Clearly a copy-and-paste error.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Manjunath Hadli <manjunath.hadli@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/arm/mach-davinci/board-dm646x-evm.c