diff options
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-i2c-chips-v4l2.c')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-i2c-chips-v4l2.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-i2c-chips-v4l2.c b/drivers/media/video/pvrusb2/pvrusb2-i2c-chips-v4l2.c index 05121666b9ba..93b8d077c11e 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-i2c-chips-v4l2.c +++ b/drivers/media/video/pvrusb2/pvrusb2-i2c-chips-v4l2.c | |||
@@ -39,6 +39,7 @@ | |||
39 | #define OP_AUDIORATE 4 | 39 | #define OP_AUDIORATE 4 |
40 | #define OP_SIZE 5 | 40 | #define OP_SIZE 5 |
41 | #define OP_LOG 6 | 41 | #define OP_LOG 6 |
42 | #define OP_RADIO 7 | ||
42 | 43 | ||
43 | static const struct pvr2_i2c_op * const ops[] = { | 44 | static const struct pvr2_i2c_op * const ops[] = { |
44 | [OP_STANDARD] = &pvr2_i2c_op_v4l2_standard, | 45 | [OP_STANDARD] = &pvr2_i2c_op_v4l2_standard, |
@@ -47,6 +48,7 @@ static const struct pvr2_i2c_op * const ops[] = { | |||
47 | [OP_FREQ] = &pvr2_i2c_op_v4l2_frequency, | 48 | [OP_FREQ] = &pvr2_i2c_op_v4l2_frequency, |
48 | [OP_SIZE] = &pvr2_i2c_op_v4l2_size, | 49 | [OP_SIZE] = &pvr2_i2c_op_v4l2_size, |
49 | [OP_LOG] = &pvr2_i2c_op_v4l2_log, | 50 | [OP_LOG] = &pvr2_i2c_op_v4l2_log, |
51 | [OP_RADIO] = &pvr2_i2c_op_v4l2_radio, | ||
50 | }; | 52 | }; |
51 | 53 | ||
52 | void pvr2_i2c_probe(struct pvr2_hdw *hdw,struct pvr2_i2c_client *cp) | 54 | void pvr2_i2c_probe(struct pvr2_hdw *hdw,struct pvr2_i2c_client *cp) |
@@ -58,7 +60,8 @@ void pvr2_i2c_probe(struct pvr2_hdw *hdw,struct pvr2_i2c_client *cp) | |||
58 | (1 << OP_VOLUME) | | 60 | (1 << OP_VOLUME) | |
59 | (1 << OP_FREQ) | | 61 | (1 << OP_FREQ) | |
60 | (1 << OP_SIZE) | | 62 | (1 << OP_SIZE) | |
61 | (1 << OP_LOG)); | 63 | (1 << OP_LOG) | |
64 | (1 << OP_RADIO)); | ||
62 | 65 | ||
63 | if (id == I2C_DRIVERID_MSP3400) { | 66 | if (id == I2C_DRIVERID_MSP3400) { |
64 | if (pvr2_i2c_msp3400_setup(hdw,cp)) { | 67 | if (pvr2_i2c_msp3400_setup(hdw,cp)) { |