]> git.baikalelectronics.ru Git - kernel.git/commit
[media] au0828: fix broken streaming
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 13 Mar 2015 13:41:39 +0000 (10:41 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 2 Apr 2015 21:28:59 +0000 (18:28 -0300)
commitf51d0d7c62438690ed23927cc63e7d44a05b3d69
treea8044d562eb4abe603318a3e61eb3e7ce6c5b83b
parent47f0441a030de699393b72c5ae6bb26823a51b6d
[media] au0828: fix broken streaming

Commit cdc232948f5a819dc95165252e56a4e9ff375e8c ("media: au0828: drop
vbi_buffer_filled() and re-use buffer_filled()") broke video and vbi streaming.

The vb2_buffer struct was copied instead of taking a pointer to it, but
vb2_buffer_done() needs the real object, not a copy, since it is hooking
the buffer into a different list.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/au0828/au0828-video.c