summaryrefslogtreecommitdiff
path: root/drivers/media/i2c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2019-04-02 10:24:15 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-31 16:47:25 +0300
commitee04cef6cc859a9a8d6e29ff63e47931f6a48453 (patch)
treebf4c35455c1df1c28d1fecc94bcbec8b99173625 /drivers/media/i2c
parent98a3c674b15225668c75c5a9f1edaa149efe872b (diff)
downloadlinux-ee04cef6cc859a9a8d6e29ff63e47931f6a48453.tar.xz
media: au0828: stop video streaming only when last user stops
[ Upstream commit f604f0f5afb88045944567f604409951b5eb6af8 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/media/i2c')
0 files changed, 0 insertions, 0 deletions