]> git.ipfire.org Git - people/arne_f/kernel.git/commit
stk1160: Make sure current buffer is released
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>
Tue, 10 Mar 2015 14:37:14 +0000 (11:37 -0300)
committerJiri Slaby <jslaby@suse.cz>
Fri, 15 May 2015 07:10:33 +0000 (09:10 +0200)
commit19b7fcb14241ac44c184abbfa004574b1e7a0203
treec295e90436d80ba2278a8a2a8f2234c0a711100b
parente0344d11157175acfc18600b5645a59cc7c3b715
stk1160: Make sure current buffer is released

commit aeff09276748b66072f2db2e668cec955cf41959 upstream.

The available (i.e. not used) buffers are returned by stk1160_clear_queue(),
on the stop_streaming() path. However, this is insufficient and the current
buffer must be released as well. Fix it.

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/media/usb/stk1160/stk1160-v4l.c