diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-02-14 16:51:56 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-02-14 16:53:53 -0200 |
commit | 83ec8225b6aecfddafd3b1d40cf79c0d4615a84c (patch) | |
tree | 47cab661c856546689c28b96edb1de85109fb06b /drivers/media/rc/fintek-cir.h | |
parent | 3691a0dd3a3e53d4b74c7a412f7e58929b65584e (diff) | |
download | op-kernel-dev-83ec8225b6aecfddafd3b1d40cf79c0d4615a84c.zip op-kernel-dev-83ec8225b6aecfddafd3b1d40cf79c0d4615a84c.tar.gz |
[media] fintek-cir: add support for newer chip version
Acked-by: Jarod Wilson <jarod@redhat.com>
Reviewed-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/rc/fintek-cir.h')
-rw-r--r-- | drivers/media/rc/fintek-cir.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/rc/fintek-cir.h b/drivers/media/rc/fintek-cir.h index 1b10b20..82516a1 100644 --- a/drivers/media/rc/fintek-cir.h +++ b/drivers/media/rc/fintek-cir.h @@ -88,6 +88,7 @@ struct fintek_dev { u8 chip_major; u8 chip_minor; u16 chip_vendor; + u8 logical_dev_cir; /* hardware features */ bool hw_learning_capable; @@ -172,7 +173,8 @@ struct fintek_dev { #define LOGICAL_DEV_ENABLE 0x01 /* Logical device number of the CIR function */ -#define LOGICAL_DEV_CIR 0x05 +#define LOGICAL_DEV_CIR_REV1 0x05 +#define LOGICAL_DEV_CIR_REV2 0x08 /* CIR Logical Device (LDN 0x08) config registers */ #define CIR_CR_COMMAND_INDEX 0x04 |