]> git.karo-electronics.de Git - linux-beck.git/commit
[media] dvb_usb_v2: do not check active fe when stop streaming
authorAntti Palosaari <crope@iki.fi>
Wed, 13 Jun 2012 00:16:52 +0000 (21:16 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 4 Aug 2012 10:56:31 +0000 (07:56 -0300)
commitd32be21800feb38d51a584437f1a5eb3f4126a17
tree4639b9913e0a7398474a5c1ebbbfc4b7ae5c6486
parentce6ea9a9424b5c511ea6d7b86081f01fa53d02b4
[media] dvb_usb_v2: do not check active fe when stop streaming

Do not check active frontend as it could be already shutdown.
Add some more debugs.

It turns out that device is put sleep earlier than streaming
is stopped in some cases. That is because streaming is running
different task and there is no locking.

Maybe some locking could be good idea to force stop streaming
before device is shut down. I can guess there could be problems
in someday cases like chip is sleep but streaming control is
requested after that...

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dvb_usb_dvb.c