From 58b1e61e934285c18557d0e48d8deda6aee7ba24 Mon Sep 17 00:00:00 2001 From: Gerd Knorr Date: Thu, 8 Apr 2004 12:45:59 +0000 Subject: - fix cx88 CrCb swapping (credits go to alsa@slackware.ru). --- linux/drivers/media/video/cx88/cx88-video.c | 1 + 1 file changed, 1 insertion(+) (limited to 'linux') diff --git a/linux/drivers/media/video/cx88/cx88-video.c b/linux/drivers/media/video/cx88/cx88-video.c index 2c6234ce2..261200228 100644 --- a/linux/drivers/media/video/cx88/cx88-video.c +++ b/linux/drivers/media/video/cx88/cx88-video.c @@ -616,6 +616,7 @@ static int set_scale(struct cx8800_dev *dev, unsigned int width, unsigned int he // recalc H delay and scale registers value = (width * norm_hdelay(dev->tvnorm)) / swidth; + value &= 0x3fe; cx_write(MO_HDELAY_EVEN, value); cx_write(MO_HDELAY_ODD, value); dprintk(1,"set_scale: hdelay 0x%04x\n", value); -- cgit v1.2.3