android_kernel_xiaomi_sm8350/drivers/media/video/zc0301
Jiri Slaby c3e2a8e64c V4L/DVB (6308): V4L: zc0301, remove bad usage of ERESTARTSYS
zc0301, remove bad usage of ERESTARTSYS

down_read_trylock can't be interrupted and so ERESTARTSYS would reach
userspace, which is not permitted. Change it to EAGAIN

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Acked-by: Luca Risolia <luca.risolia@studio.unibo.it>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-10 00:03:25 -03:00
..
Kconfig V4L/DVB (5767): ZC0301 driver updates 2007-07-18 14:24:09 -03:00
Makefile
zc0301_core.c V4L/DVB (6308): V4L: zc0301, remove bad usage of ERESTARTSYS 2007-10-10 00:03:25 -03:00
zc0301_pas202bcb.c V4L/DVB (5767): ZC0301 driver updates 2007-07-18 14:24:09 -03:00
zc0301_pb0330.c V4L/DVB (5767): ZC0301 driver updates 2007-07-18 14:24:09 -03:00
zc0301_sensor.h V4L/DVB (5767): ZC0301 driver updates 2007-07-18 14:24:09 -03:00
zc0301.h V4L/DVB (5767): ZC0301 driver updates 2007-07-18 14:24:09 -03:00