]> git.baikalelectronics.ru Git - kernel.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)
commit1c80ca9aaff81924701706341eae89fad9a7a783
tree4639b9913e0a7398474a5c1ebbbfc4b7ae5c6486
parenta16c95a872a32ec0eeefca94eb4fd21c05c18ebe
[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