From patchwork Thu Apr 21 09:51:36 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Ospite X-Patchwork-Id: 724351 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p3LA3aiq013387 for ; Thu, 21 Apr 2011 10:05:09 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752101Ab1DUJvz (ORCPT ); Thu, 21 Apr 2011 05:51:55 -0400 Received: from smtp206.alice.it ([82.57.200.102]:41541 "EHLO smtp206.alice.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751904Ab1DUJvw (ORCPT ); Thu, 21 Apr 2011 05:51:52 -0400 Received: from jcn (87.3.13.82) by smtp206.alice.it (8.5.124.08) id 4D49918D06AC49AA; Thu, 21 Apr 2011 11:51:50 +0200 Received: from ao2 by jcn with local (Exim 4.75) (envelope-from ) id 1QCqY9-0003Ml-LE; Thu, 21 Apr 2011 11:51:49 +0200 From: Antonio Ospite To: linux-media@vger.kernel.org Cc: Antonio Ospite , Jean-Francois Moine , Mauro Carvalho Chehab , Drew Fisher Subject: [PATCH 3/3] gspca - kinect: fix comments referring to color camera Date: Thu, 21 Apr 2011 11:51:36 +0200 Message-Id: <1303379496-12899-4-git-send-email-ospite@studenti.unina.it> X-Mailer: git-send-email 1.7.4.4 In-Reply-To: <1303379496-12899-1-git-send-email-ospite@studenti.unina.it> References: <4DADF1CB.4050504@redhat.com> <1303379496-12899-1-git-send-email-ospite@studenti.unina.it> X-Face: z*RaLf`X<@C75u6Ig9}{oW$H; 1_\2t5)({*|jhM/Vb; ]yA5\I~93>J<_`<4)A{':UrE Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 21 Apr 2011 10:05:12 +0000 (UTC) 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 --- drivers/media/video/gspca/kinect.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/gspca/kinect.c b/drivers/media/video/gspca/kinect.c index b4f9e2b..2028c64 100644 --- a/drivers/media/video/gspca/kinect.c +++ b/drivers/media/video/gspca/kinect.c @@ -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; @@ -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