Re: question about drivers/media/usb/gspca/kinect.c

2013-12-30 Thread Antonio Ospite
On Wed, 25 Dec 2013 20:00:34 +0100 (CET) Julia Lawall julia.law...@lip6.fr wrote: The following code, in the function send_cmd, looks too concise: do { actual_len = kinect_read(udev, ibuf, 0x200); } while (actual_len == 0); PDEBUG(D_USBO, Control

Fwd: question about drivers/media/usb/gspca/kinect.c

2013-12-26 Thread Hans de Goede
Hi, Forwarding this to Antonio, the author of the kinect driver, who is the best person to answer this. Regards, Hans Original Message Subject: question about drivers/media/usb/gspca/kinect.c Date: Wed, 25 Dec 2013 20:00:34 +0100 (CET) From: Julia Lawall julia.law...@lip6

question about drivers/media/usb/gspca/kinect.c

2013-12-25 Thread Julia Lawall
The following code, in the function send_cmd, looks too concise: do { actual_len = kinect_read(udev, ibuf, 0x200); } while (actual_len == 0); PDEBUG(D_USBO, Control reply: %d, res); if (actual_len sizeof(*rhdr)) { pr_err(send_cmd: