linux/drivers/input
Florian Echtler c2529908a1 [media] sur40: fix occasional hard freeze due to buffer queue underrun
This patch fixes a kernel panic which occurs when buf_list is empty. This can
happen occasionally when user space is under heavy load (e.g. due to image
processing on the CPU) and new buffers aren't re-queued fast enough. In that
case, vb2_start_streaming_called can return true, but when the spinlock
is taken and sur40_poll attempts to fetch the next buffer from buf_list, the
list is in fact empty.

This patch needs to be applied on top of the queued one adding V4L2 support
to the sur40 driver.

Signed-off-by: Florian Echtler <floe@butterbrot.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-04-08 06:28:56 -03:00
..
gameport
joystick Input: adi - remove an unnecessary check 2015-02-11 23:07:13 -08:00
keyboard Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2015-02-21 12:59:04 -08:00
misc Merge branch 'bfin_rotary' into next 2015-02-15 16:07:18 -08:00
mouse Input: psmouse - use IS_ENABLED instead of homegrown code 2015-02-15 16:08:35 -08:00
serio Merge branch 'bfin_rotary' into next 2015-02-15 16:07:18 -08:00
tablet
touchscreen [media] sur40: fix occasional hard freeze due to buffer queue underrun 2015-04-08 06:28:56 -03:00
apm-power.c
evbug.c
evdev.c
ff-core.c
ff-memless.c [media] fixp-arith: replace sin/cos table by a better precision one 2015-03-02 14:50:06 -03:00
input-compat.c
input-compat.h
input-mt.c
input-polldev.c
input.c
joydev.c
Kconfig
Makefile
matrix-keymap.c
mousedev.c
sparse-keymap.c