]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l2-mem2mem: set the queue owner field just as vb2_ioctl_reqbufs does
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 10 Jul 2015 13:49:25 +0000 (10:49 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 17 Jul 2015 15:00:02 +0000 (12:00 -0300)
commite7cf77bd01d847c2d45cf114629eab08d4de2f17
treed0ba23fb60eb85670068ade47af3759348081872
parent65b41c75ca7a7b577e5d53a490cda528f7475faa
[media] v4l2-mem2mem: set the queue owner field just as vb2_ioctl_reqbufs does

The queue owner will be used by videobuf2 trace events to determine and
record the device minor number. It is set in v4l2_m2m_reqbufs instead of
v4l2_m2m_ioctl_reqbufs because several drivers implement their own
vidioc_reqbufs handlers that still call v4l2_m2m_reqbufs directly.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/v4l2-mem2mem.c