commit | 492abcd7e0fb2b5f04d1f50bf932af79e8b35803 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | Mon Jul 13 13:30:43 2020 +0200 |
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Fri Aug 28 14:59:50 2020 +0200 |
tree | 3380523713cc2b9e5f62028c0637adb0b86d42e9 | |
parent | f729ef5796d82a95758d9edc7eea5879a3a12b25 [diff] |
media: qcom/camss: use vb2_video_unregister_device() Use vb2_video_unregister_device() to automatically stop streaming at unregister time. This avoids the use of vb2_queue_release() which should not be called by drivers that set vdev->queue. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Tested-by: Andrey Konovalov <andrey.konovalov@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>