V4L/DVB (13657): tw9910: Add revision control to tw9910_set_hsync
authorKuninori Morimoto <morimoto.kuninori@renesas.com>
Fri, 11 Dec 2009 14:34:51 +0000 (11:34 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 16 Dec 2009 11:27:26 +0000 (09:27 -0200)
commitfaa582610d87edf3ae1d07710a8f7e11c105686c
tree8d35af81d65214944185ed14f6e9c12620f96435
parent207970838186b2606896b03f590b89b13570a727
V4L/DVB (13657): tw9910: Add revision control to tw9910_set_hsync

Bits 10-3 of hsync control are the same for Rev0 and Rev1, but only Rev1
also has bits 2-0 for hsync. Account for this difference and also fix a
register name.

Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tw9910.c