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
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
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: