Re: [PATCH 1/2] gspca_kinect: fix kinect_read() error path

2014-02-23 Thread Hans de Goede
Hi, Thanks I've added both to my gspca tree for 3.15 Regards, Hans On 12/30/2013 05:41 PM, Antonio Ospite wrote: The error checking code relative to the invocations of kinect_read() does not return the actual return code of the function just called, it returns res which still contains the

[PATCH 1/2] gspca_kinect: fix kinect_read() error path

2013-12-30 Thread Antonio Ospite
The error checking code relative to the invocations of kinect_read() does not return the actual return code of the function just called, it returns res which still contains the value of the last invocation of a previous kinect_write(). Return the proper value, and while at it also report with