diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2006-04-01 23:03:23 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2006-04-01 23:03:23 +0200 |
commit | dbe2e81959f002660345a0b09161b230df7765cf (patch) | |
tree | acf7f951b6b6f4d03873bc776c2b76a4af514cb5 /linux/drivers/media/video/msp3400-kthreads.c | |
parent | b1828398ae5cd6585d502c5e0361e2c2cef74c38 (diff) | |
download | mediapointer-dvb-s2-dbe2e81959f002660345a0b09161b230df7765cf.tar.gz mediapointer-dvb-s2-dbe2e81959f002660345a0b09161b230df7765cf.tar.bz2 |
Make msp3400 routing defines more consistent
From: Hans Verkuil <hverkuil@xs4all.nl>
Renamed various msp3400 routing defines to be more consistent and less
confusing. Esp. the MSP_DSP_OUT defines were confusing since it is really
a DSP input.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/msp3400-kthreads.c')
-rw-r--r-- | linux/drivers/media/video/msp3400-kthreads.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/msp3400-kthreads.c b/linux/drivers/media/video/msp3400-kthreads.c index aaaa26219..d016a3310 100644 --- a/linux/drivers/media/video/msp3400-kthreads.c +++ b/linux/drivers/media/video/msp3400-kthreads.c @@ -888,11 +888,11 @@ static void msp34xxg_set_source(struct i2c_client *client, u16 reg, int in) break; } - if (in == MSP_DSP_OUT_TUNER) + if (in == MSP_DSP_IN_TUNER) source = (source << 8) | 0x20; /* the msp34x2g puts the MAIN_AVC, MAIN and AUX sources in 12, 13, 14 instead of 11, 12, 13. So we add one for that msp version. */ - else if (in >= MSP_DSP_OUT_MAIN_AVC && state->has_dolby_pro_logic) + else if (in >= MSP_DSP_IN_MAIN_AVC && state->has_dolby_pro_logic) source = ((in + 1) << 8) | matrix; else source = (in << 8) | matrix; |