You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[media] au0828: Cancel stream-restart operation if frontend is disconnected
If the tuner is already disconnected, It is meaningless to go on doing the stream-restart operation, It is better to cancel this operation. Signed-off-by: Changbing Xiong <cb.xiong@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
c4018fa2e4
commit
d9e091fe71
Regular → Executable
+2
@@ -471,6 +471,8 @@ void au0828_dvb_unregister(struct au0828_dev *dev)
|
||||
if (dvb->frontend == NULL)
|
||||
return;
|
||||
|
||||
cancel_work_sync(&dev->restart_streaming);
|
||||
|
||||
dvb_net_release(&dvb->net);
|
||||
dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_mem);
|
||||
dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_hw);
|
||||
|
||||
Reference in New Issue
Block a user