linux/drivers/media/usb/stkwebcam
Andreas Pape 3c28b91380 media: stkwebcam: Bugfix for wrong return values
usb_control_msg returns in case of a successfully sent message the number
of sent bytes as a positive number. Don't use this value as a return value
for stk_camera_read_reg, as a non-zero return value is used as an error
condition in some cases when stk_camera_read_reg is called.

Signed-off-by: Andreas Pape <ap@ca-pape.de>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-12-05 14:10:48 -05:00
..
Kconfig
Makefile
stk-sensor.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
stk-webcam.c media: stkwebcam: Bugfix for wrong return values 2018-12-05 14:10:48 -05:00
stk-webcam.h