aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/fintek-cir.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-02-14 13:51:56 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-02-14 13:53:53 -0500
commit83ec8225b6aecfddafd3b1d40cf79c0d4615a84c (patch)
tree47cab661c856546689c28b96edb1de85109fb06b /drivers/media/rc/fintek-cir.h
parent3691a0dd3a3e53d4b74c7a412f7e58929b65584e (diff)
[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 {
88 u8 chip_major; 88 u8 chip_major;
89 u8 chip_minor; 89 u8 chip_minor;
90 u16 chip_vendor; 90 u16 chip_vendor;
91 u8 logical_dev_cir;
91 92
92 /* hardware features */ 93 /* hardware features */
93 bool hw_learning_capable; 94 bool hw_learning_capable;
@@ -172,7 +173,8 @@ struct fintek_dev {
172#define LOGICAL_DEV_ENABLE 0x01 173#define LOGICAL_DEV_ENABLE 0x01
173 174
174/* Logical device number of the CIR function */ 175/* Logical device number of the CIR function */
175#define LOGICAL_DEV_CIR 0x05 176#define LOGICAL_DEV_CIR_REV1 0x05
177#define LOGICAL_DEV_CIR_REV2 0x08
176 178
177/* CIR Logical Device (LDN 0x08) config registers */ 179/* CIR Logical Device (LDN 0x08) config registers */
178#define CIR_CR_COMMAND_INDEX 0x04 180#define CIR_CR_COMMAND_INDEX 0x04