summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2007-03-03 18:45:48 +0100
committerOliver Endriss <o.endriss@gmx.de>2007-03-03 18:45:48 +0100
commitbc7628cad382b148fd505919fc1a8a3a69e9e877 (patch)
tree649e5f71f4bb8af7fbf6f1c2e8f4b14f3bc5cb91 /linux/drivers/media/dvb/ttpci
parent1922eef0f615e0ba0a79aa927c0abdcf5afd6808 (diff)
downloadmediapointer-dvb-s2-bc7628cad382b148fd505919fc1a8a3a69e9e877.tar.gz
mediapointer-dvb-s2-bc7628cad382b148fd505919fc1a8a3a69e9e877.tar.bz2
dvb-ttpci: Update frontend lock status in transfer mode (bugfix)
From: Oliver Endriss <o.endriss@gmx.de> In transfer/replay mode the frontend lock status was never updated. This caused a 'black screen' if VDR switched from transfer mode to live mode on the same transponder. Thanks to Marco Schluessler for spotting the problem. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Diffstat (limited to 'linux/drivers/media/dvb/ttpci')
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c
index f13f237f1..77ccd99ad 100644
--- a/linux/drivers/media/dvb/ttpci/av7110.c
+++ b/linux/drivers/media/dvb/ttpci/av7110.c
@@ -1914,8 +1914,10 @@ static int av7110_fe_lock_fix(struct av7110* av7110, fe_status_t status)
if (av7110->fe_synced == synced)
return 0;
- if (av7110->playing)
+ if (av7110->playing) {
+ av7110->fe_synced = synced;
return 0;
+ }
if (mutex_lock_interruptible(&av7110->pid_mutex))
return -ERESTARTSYS;