diff options
author | Oliver Endriss <o.endriss@gmx.de> | 2007-03-03 12:45:48 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-27 14:44:14 -0400 |
commit | 14500d4a5140252f2524d8d89a22166ef2313614 (patch) | |
tree | 68d79ae6b6af0c9d71ff74ba7c193a49a73caa2f /drivers | |
parent | bfce1747e8c5a7b4b0d1331328a08f26fa5b2f2e (diff) |
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 <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | 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 3cd85231a0cd..67becdd4db60 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) | |||
1914 | if (av7110->fe_synced == synced) | 1914 | if (av7110->fe_synced == synced) |
1915 | return 0; | 1915 | return 0; |
1916 | 1916 | ||
1917 | if (av7110->playing) | 1917 | if (av7110->playing) { |
1918 | av7110->fe_synced = synced; | ||
1918 | return 0; | 1919 | return 0; |
1920 | } | ||
1919 | 1921 | ||
1920 | if (mutex_lock_interruptible(&av7110->pid_mutex)) | 1922 | if (mutex_lock_interruptible(&av7110->pid_mutex)) |
1921 | return -ERESTARTSYS; | 1923 | return -ERESTARTSYS; |