Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=14500d4a5140252f2524d8d89a22166ef2313614
Commit:     14500d4a5140252f2524d8d89a22166ef2313614
Parent:     bfce1747e8c5a7b4b0d1331328a08f26fa5b2f2e
Author:     Oliver Endriss <[EMAIL PROTECTED]>
AuthorDate: Sat Mar 3 14:45:48 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Fri Apr 27 15:44:14 2007 -0300

    V4L/DVB (5381): Dvb-ttpci: Update frontend lock status in transfer mode 
(bugfix)
    
    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 <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/dvb/ttpci/av7110.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/drivers/media/dvb/ttpci/av7110.c b/drivers/media/dvb/ttpci/av7110.c
index 3cd8523..67becdd 100644
--- a/drivers/media/dvb/ttpci/av7110.c
+++ b/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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to