[media] rc: Hauppauge z8f0811 can decode RC6
The hardware does not decode the 16, 20 or 24 bit variety. Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
e998c92d6c
commit
00bb820755
@@ -98,7 +98,8 @@ static int cx18_i2c_new_ir(struct cx18 *cx, struct i2c_adapter *adap, u32 hw,
|
||||
case CX18_HW_Z8F0811_IR_RX_HAUP:
|
||||
init_data->ir_codes = RC_MAP_HAUPPAUGE;
|
||||
init_data->internal_get_key_func = IR_KBD_GET_KEY_HAUP_XVR;
|
||||
init_data->type = RC_BIT_RC5;
|
||||
init_data->type = RC_BIT_RC5 | RC_BIT_RC6_MCE |
|
||||
RC_BIT_RC6_6A_32;
|
||||
init_data->name = cx->card_name;
|
||||
info.platform_data = init_data;
|
||||
break;
|
||||
|
@@ -631,7 +631,8 @@ void cx88_i2c_init_ir(struct cx88_core *core)
|
||||
/* Hauppauge XVR */
|
||||
core->init_data.name = "cx88 Hauppauge XVR remote";
|
||||
core->init_data.ir_codes = RC_MAP_HAUPPAUGE;
|
||||
core->init_data.type = RC_BIT_RC5;
|
||||
core->init_data.type = RC_BIT_RC5 | RC_BIT_RC6_MCE |
|
||||
RC_BIT_RC6_6A_32;
|
||||
core->init_data.internal_get_key_func = IR_KBD_GET_KEY_HAUP_XVR;
|
||||
|
||||
info.platform_data = &core->init_data;
|
||||
|
@@ -215,7 +215,8 @@ static int ivtv_i2c_new_ir(struct ivtv *itv, u32 hw, const char *type, u8 addr)
|
||||
/* Default to grey remote */
|
||||
init_data->ir_codes = RC_MAP_HAUPPAUGE;
|
||||
init_data->internal_get_key_func = IR_KBD_GET_KEY_HAUP_XVR;
|
||||
init_data->type = RC_BIT_RC5;
|
||||
init_data->type = RC_BIT_RC5 | RC_BIT_RC6_MCE |
|
||||
RC_BIT_RC6_6A_32;
|
||||
init_data->name = itv->card_name;
|
||||
break;
|
||||
case IVTV_HW_I2C_IR_RX_ADAPTEC:
|
||||
|
Reference in New Issue
Block a user