]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
V4L/DVB (5381): Dvb-ttpci: Update frontend lock status in transfer mode (bugfix)
authorOliver Endriss <o.endriss@gmx.de>
Sat, 3 Mar 2007 17:45:48 +0000 (14:45 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 27 Apr 2007 18:44:14 +0000 (15:44 -0300)
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/ttpci/av7110.c

index 3cd85231a0cd84f36ddcae59a9f94a3fa39ab460..67becdd4db609e87f3584c2bdd95c5a8961cfb2c 100644 (file)
@@ -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;