Skip to content

Commit

Permalink
[media] gspca - kinect: fix comments referring to color camera
Browse files Browse the repository at this point in the history
Use the expression "video stream" instead of "color camera" which is
more correct as the driver supports the RGB and IR image on the same
endpoint.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Antonio Ospite authored and Mauro Carvalho Chehab committed May 20, 2011
1 parent 3fabe8f commit f1703aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/video/gspca/kinect.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ static int sd_config(struct gspca_dev *gspca_dev,

sd->cam_tag = 0;

/* Only color camera is supported for now,
/* Only video stream is supported for now,
* which has stream flag = 0x80 */
sd->stream_flag = 0x80;

Expand All @@ -243,7 +243,7 @@ static int sd_config(struct gspca_dev *gspca_dev,
cam->nmodes = ARRAY_SIZE(video_camera_mode);

#if 0
/* Setting those values is not needed for color camera */
/* Setting those values is not needed for video stream */
cam->npkt = 15;
gspca_dev->pkt_size = 960 * 2;
#endif
Expand Down

0 comments on commit f1703aa

Please sign in to comment.