V4L/DVB: tvp7002: fix write to H-PLL Feedback Divider LSB register
authorRajashekhara, Sudhakar <sudhakar.raj@ti.com>
Wed, 28 Jul 2010 08:47:48 +0000 (05:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 9 Aug 2010 02:43:07 +0000 (23:43 -0300)
commit560afa7d85bdfb294506afd3032c315e6827824f
tree2b4a1ae89f2060cf767a071f78614c055378681c
parentd0a38ce27e1b11116f02835b076fcb79db987e2c
V4L/DVB: tvp7002: fix write to H-PLL Feedback Divider LSB register

H-PLL Feedback Divider LSB register is an 8 bit register out
of which the first 4 bits are reserved. Current code is
writing to these reserved location. This patch corrects
this issue by left shifting the values being written to the
register by 4.

This patch has been tested on DM6467 EVM with 720P-60 and
1080I-60 inputs.

Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tvp7002.c