summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci/av7110.c
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/ttpci/av7110.c
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/ttpci/av7110.c')
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110.c5
1 files changed, 4 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);