diff options
author | Mike Isely <isely@pobox.com> | 2006-12-27 20:14:54 -0600 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2006-12-27 20:14:54 -0600 |
commit | 88d2794e9385b97e2aaef1416ca46d93d6f5ce50 (patch) | |
tree | 97dc44275a7c65979bf5113351dce384adf12f9c /linux/drivers/media/video/pvrusb2/pvrusb2-i2c-chips-v4l2.c | |
parent | 1ff20da19cb8cd963b950854141f6aa51edbb130 (diff) | |
download | mediapointer-dvb-s2-88d2794e9385b97e2aaef1416ca46d93d6f5ce50.tar.gz mediapointer-dvb-s2-88d2794e9385b97e2aaef1416ca46d93d6f5ce50.tar.bz2 |
pvrusb2: video standard broadcast fix for radio mode
From: Mike Isely <isely@pobox.com>
Ensure we don't accidentally broadcast the standard while in radio mode.
Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-i2c-chips-v4l2.c')
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-i2c-chips-v4l2.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-chips-v4l2.c b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-chips-v4l2.c index 071e55a60..dbd2466ef 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-chips-v4l2.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-chips-v4l2.c @@ -40,7 +40,6 @@ #define OP_AUDIORATE 4 #define OP_SIZE 5 #define OP_LOG 6 -#define OP_RADIO 7 static const struct pvr2_i2c_op * const ops[] = { [OP_STANDARD] = &pvr2_i2c_op_v4l2_standard, @@ -49,7 +48,6 @@ static const struct pvr2_i2c_op * const ops[] = { [OP_FREQ] = &pvr2_i2c_op_v4l2_frequency, [OP_SIZE] = &pvr2_i2c_op_v4l2_size, [OP_LOG] = &pvr2_i2c_op_v4l2_log, - [OP_RADIO] = &pvr2_i2c_op_v4l2_radio, }; void pvr2_i2c_probe(struct pvr2_hdw *hdw,struct pvr2_i2c_client *cp) @@ -61,8 +59,7 @@ void pvr2_i2c_probe(struct pvr2_hdw *hdw,struct pvr2_i2c_client *cp) (1 << OP_VOLUME) | (1 << OP_FREQ) | (1 << OP_SIZE) | - (1 << OP_LOG) | - (1 << OP_RADIO)); + (1 << OP_LOG)); if (id == I2C_DRIVERID_MSP3400) { if (pvr2_i2c_msp3400_setup(hdw,cp)) { |