Commit 14500d4a authored by Oliver Endriss's avatar Oliver Endriss Committed by Mauro Carvalho Chehab

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: default avatarOliver Endriss <o.endriss@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent bfce1747
...@@ -1914,8 +1914,10 @@ static int av7110_fe_lock_fix(struct av7110* av7110, fe_status_t status) ...@@ -1914,8 +1914,10 @@ static int av7110_fe_lock_fix(struct av7110* av7110, fe_status_t status)
if (av7110->fe_synced == synced) if (av7110->fe_synced == synced)
return 0; return 0;
if (av7110->playing) if (av7110->playing) {
av7110->fe_synced = synced;
return 0; return 0;
}
if (mutex_lock_interruptible(&av7110->pid_mutex)) if (mutex_lock_interruptible(&av7110->pid_mutex))
return -ERESTARTSYS; return -ERESTARTSYS;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment