V4L/DVB (4980): Fixes bug 7267: PAL/60 is not working
authorMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 18 Dec 2006 02:30:47 +0000 (23:30 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 27 Dec 2006 16:19:26 +0000 (14:19 -0200)
commit315eb962d2e9438bc10da2488b604f04a1c0006f
treedc72d7f95e3b69cf5955fa3eeaeafcb0e4ae873d
parented00b41dc8bc286682d31ad64060ccc70513e90b
V4L/DVB (4980): Fixes bug 7267: PAL/60 is not working

On cx88 driver, sampling rate should be at chroma subcarrier freq (FSC).
However, driver were programming wrong values for PAL/60, PAL/Nc and
NTSC 4.43. This patch do the proper calculation. It also calculates
htotal, hdelay and hactive constants, according with the sampling
rate.
It is tested with PAL/60 by Piotr Maksymuk and Olivier. Also tested with
the already-supported standards.

Test is still required for PAL/Nc.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-core.c
drivers/media/video/cx88/cx88.h