summaryrefslogtreecommitdiff
path: root/drivers/media/rc/fintek-cir.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-02-14 22:51:56 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-02-14 22:53:53 +0400
commit83ec8225b6aecfddafd3b1d40cf79c0d4615a84c (patch)
tree47cab661c856546689c28b96edb1de85109fb06b /drivers/media/rc/fintek-cir.h
parent3691a0dd3a3e53d4b74c7a412f7e58929b65584e (diff)
downloadlinux-83ec8225b6aecfddafd3b1d40cf79c0d4615a84c.tar.xz
[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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/rc/fintek-cir.h b/drivers/media/rc/fintek-cir.h
index 1b10b2011f5e..82516a1d39b0 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