diff options
Diffstat (limited to 'v4l_experimental/pvrusb2/pvrusb2-i2c-chips-v4l2.c')
| -rw-r--r-- | v4l_experimental/pvrusb2/pvrusb2-i2c-chips-v4l2.c | 7 | 
1 files changed, 5 insertions, 2 deletions
| diff --git a/v4l_experimental/pvrusb2/pvrusb2-i2c-chips-v4l2.c b/v4l_experimental/pvrusb2/pvrusb2-i2c-chips-v4l2.c index ff8d38063..2d97653d5 100644 --- a/v4l_experimental/pvrusb2/pvrusb2-i2c-chips-v4l2.c +++ b/v4l_experimental/pvrusb2/pvrusb2-i2c-chips-v4l2.c @@ -1,6 +1,6 @@  /*   * - *  $Id: pvrusb2-i2c-chips-v4l2.c,v 1.3 2006/01/22 03:55:03 mcisely Exp $ + *  $Id$   *   *  Copyright (C) 2005 Mike Isely <isely@pobox.com>   * @@ -37,6 +37,7 @@  #define OP_FREQ 3  #define OP_AUDIORATE 4  #define OP_SIZE 5 +#define OP_LOG 6  static const struct pvr2_i2c_op * const ops[] = {  	[OP_STANDARD] = &pvr2_i2c_op_v4l2_standard, @@ -44,6 +45,7 @@ static const struct pvr2_i2c_op * const ops[] = {  	[OP_VOLUME] = &pvr2_i2c_op_v4l2_volume,  	[OP_FREQ] = &pvr2_i2c_op_v4l2_frequency,  	[OP_SIZE] = &pvr2_i2c_op_v4l2_size, +	[OP_LOG] = &pvr2_i2c_op_v4l2_log,  };  void pvr2_i2c_probe(struct pvr2_hdw *hdw,struct pvr2_i2c_client *cp) @@ -54,7 +56,8 @@ void pvr2_i2c_probe(struct pvr2_hdw *hdw,struct pvr2_i2c_client *cp)  			(1 << OP_BCSH) |  			(1 << OP_VOLUME) |  			(1 << OP_FREQ) | -			(1 << OP_SIZE)); +			(1 << OP_SIZE) | +			(1 << OP_LOG));  	if (id == I2C_DRIVERID_MSP3400) {  		if (pvr2_i2c_msp3400_setup(hdw,cp)) { | 
