summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorOliver Endriss <devnull@localhost>2003-04-01 13:23:16 +0000
committerOliver Endriss <devnull@localhost>2003-04-01 13:23:16 +0000
commitd7b251d9b74a2056583742cea371b97369981827 (patch)
tree6f584fc61fee6bce3df866e0c205a6b7d955e45c /linux/drivers/media/dvb
parenta4aaa6eb6e4112a86f5d31488e7ed1320f3028be (diff)
downloadmediapointer-dvb-s2-d7b251d9b74a2056583742cea371b97369981827.tar.gz
mediapointer-dvb-s2-d7b251d9b74a2056583742cea371b97369981827.tar.bz2
restore IR control word after arm crash
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110.c5
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c
index a5ce92cc4..af0d3029d 100644
--- a/linux/drivers/media/dvb/ttpci/av7110.c
+++ b/linux/drivers/media/dvb/ttpci/av7110.c
@@ -317,6 +317,7 @@ recover_arm(av7110_t *av7110)
ddelay(100);
restart_feeds(av7110);
+ outcom(av7110, COMTYPE_PIDFILTER, SetIR, 1, av7110->ir_config);
}
static void
@@ -536,8 +537,10 @@ void av7110_setup_irc_config (av7110_t *av7110, u32 ir_config)
else
last = av7110;
- if (av7110)
+ if (av7110) {
outcom(av7110, COMTYPE_PIDFILTER, SetIR, 1, ir_config);
+ av7110->ir_config = ir_config;
+ }
}
static void (*irc_handler)(u32);
diff --git a/linux/drivers/media/dvb/ttpci/av7110.h b/linux/drivers/media/dvb/ttpci/av7110.h
index 208ed3d21..00e0ee539 100644
--- a/linux/drivers/media/dvb/ttpci/av7110.h
+++ b/linux/drivers/media/dvb/ttpci/av7110.h
@@ -584,6 +584,8 @@ typedef struct av7110_s {
struct dvb_device *osd_dev;
int dsp_dev;
+
+ u32 ir_config;
} av7110_t;