diff options
author | Gerd Knorr <devnull@localhost> | 2004-04-08 12:45:59 +0000 |
---|---|---|
committer | Gerd Knorr <devnull@localhost> | 2004-04-08 12:45:59 +0000 |
commit | 58b1e61e934285c18557d0e48d8deda6aee7ba24 (patch) | |
tree | 6d567ea1f49f7a9a8b49e9565d3e5a6017b74e80 /linux/drivers/media/video | |
parent | 2b546710c1f5588d1cfb8c039dd06cbc034d76bd (diff) | |
download | mediapointer-dvb-s2-58b1e61e934285c18557d0e48d8deda6aee7ba24.tar.gz mediapointer-dvb-s2-58b1e61e934285c18557d0e48d8deda6aee7ba24.tar.bz2 |
- fix cx88 CrCb swapping (credits go to alsa@slackware.ru).
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-video.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |