Home
last modified time | relevance | path

Searched hist:de3e581f31626a9e5697ea1581967729fcffdd1d (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/media/usb/stk1160/
H A Dstk1160-v4l.cdiff de3e581f31626a9e5697ea1581967729fcffdd1d Fri Jun 15 14:07:32 CDT 2018 Ezequiel Garcia <ezequiel@collabora.com> media: stk1160: Set the vb2_queue lock before calling vb2_queue_init

The vb2_queue will soon be mandatory. The videobuf2 core
will throw a verbose warning if it's not set.

The stk1160 driver is setting the queue lock, but after
the vb2_queue_init call. Avoid the warning by setting
the lock before the queue initialization.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>