]> git.baikalelectronics.ru Git - kernel.git/commit
[media] stk1160: Make sure current buffer is released
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>
Tue, 10 Mar 2015 14:37:14 +0000 (11:37 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 2 Apr 2015 21:18:37 +0000 (18:18 -0300)
commit349dbbdd99101993a266cec83231d1647dbc04e0
tree6f761c99faefd4167006d2bc679df8847d4cc504
parent823929e42d1394526a52d8c6bfc0eb378421edd2
[media] stk1160: Make sure current buffer is released

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.

Cc: stable@vger.kernel.org
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>
drivers/media/usb/stk1160/stk1160-v4l.c