linux/drivers/media/usb/au0828
Hans Verkuil f604f0f5af media: au0828: stop video streaming only when last user stops
If the application was streaming from both videoX and vbiX, and streaming
from videoX was stopped, then the vbi streaming also stopped.

The cause being that stop_streaming for video stopped the subdevs as well,
instead of only doing that if dev->streaming_users reached 0.

au0828_stop_vbi_streaming was also wrong since it didn't stop the subdevs
at all when dev->streaming_users reached 0.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Tested-by: Shuah Khan <shuah@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-04-22 11:24:57 -04:00
..
au0828-cards.c [media] tveeprom: get rid of unused arg on tveeprom_hauppauge_analog() 2017-03-03 07:35:02 -03:00
au0828-cards.h media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
au0828-core.c media: au0828: fix enable and disable source audio and video inconsistencies 2019-04-22 11:22:30 -04:00
au0828-dvb.c media: a few more typos at staging, pci, platform, radio and usb 2019-03-01 10:02:25 -05:00
au0828-i2c.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
au0828-input.c media: rc: Remove init_ir_raw_event and DEFINE_IR_RAW_EVENT macros 2018-10-04 14:22:27 -04:00
au0828-reg.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
au0828-vbi.c media: au0828/em28xx: make vb2_ops const 2017-10-27 14:13:33 +02:00
au0828-video.c media: au0828: stop video streaming only when last user stops 2019-04-22 11:24:57 -04:00
au0828.h media: au0828: fix enable and disable source audio and video inconsistencies 2019-04-22 11:22:30 -04:00
Kconfig media: change au0828 to use Media Device Allocator API 2019-04-22 11:19:05 -04:00
Makefile media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00