Re: [PATCH 3/3] media: stkwebcam: Bugfix for wrong return values

2018-11-26 Thread Kieran Bingham
Hi Andreas, Thank you for the patch, On 23/11/2018 16:14, Andreas Pape wrote: > 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 a

[PATCH 3/3] media: stkwebcam: Bugfix for wrong return values

2018-11-23 Thread Andreas Pape
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: An