summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-09-26 12:43:54 +0200
committerJean-Francois Moine <moinejf@free.fr>2008-09-26 12:43:54 +0200
commit55fbc71be89d201885f37104e2a62b0b705f0469 (patch)
treed79fa845ea3d7e0461f6d3605f700a1dc20d6bc5 /linux
parent68d0e9d6d8ed6edafb5ece328415a155ee7134e9 (diff)
downloadmediapointer-dvb-s2-55fbc71be89d201885f37104e2a62b0b705f0469.tar.gz
mediapointer-dvb-s2-55fbc71be89d201885f37104e2a62b0b705f0469.tar.bz2
gspca: Fixed a few typos in comments.
From: Frank Zago <frank@zago.net> Priority: normal Signed-off-by: Frank Zago <frank@zago.net> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/gspca/gspca.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/linux/drivers/media/video/gspca/gspca.c b/linux/drivers/media/video/gspca/gspca.c
index ed79540f3..3c57f45e8 100644
--- a/linux/drivers/media/video/gspca/gspca.c
+++ b/linux/drivers/media/video/gspca/gspca.c
@@ -288,7 +288,7 @@ struct gspca_frame *gspca_frame_add(struct gspca_dev *gspca_dev,
}
gspca_dev->last_packet_type = packet_type;
- /* if last packet, wake the application and advance in the queue */
+ /* if last packet, wake up the application and advance in the queue */
if (packet_type == LAST_PACKET) {
frame->v4l2_buf.bytesused = frame->data_end - frame->data;
frame->v4l2_buf.flags &= ~V4L2_BUF_FLAG_QUEUED;
@@ -430,7 +430,7 @@ static void destroy_urbs(struct gspca_dev *gspca_dev)
}
/*
- * search an input transfer endpoint in an alternate setting
+ * look for an input transfer endpoint in an alternate setting
*/
static struct usb_host_endpoint *alt_xfer(struct usb_host_interface *alt,
__u8 epaddr,
@@ -454,7 +454,7 @@ static struct usb_host_endpoint *alt_xfer(struct usb_host_interface *alt,
}
/*
- * search an input (isoc or bulk) endpoint
+ * look for an input (isoc or bulk) endpoint
*
* The endpoint is defined by the subdriver.
* Use only the first isoc (some Zoran - 0x0572:0x0001 - have two such ep).
@@ -601,7 +601,7 @@ static int gspca_init_transfer(struct gspca_dev *gspca_dev)
gspca_dev->streaming = 1;
atomic_set(&gspca_dev->nevent, 0);
- /* start the bulk transfer is done by the subdriver */
+ /* bulk transfers are started by the subdriver */
if (gspca_dev->bulk)
break;
@@ -636,7 +636,7 @@ static int gspca_set_alt0(struct gspca_dev *gspca_dev)
return ret;
}
-/* Note both the queue and the usb lock should be hold when calling this */
+/* Note: both the queue and the usb locks should be held when calling this */
static void gspca_stream_off(struct gspca_dev *gspca_dev)
{
gspca_dev->streaming = 0;
@@ -1695,7 +1695,7 @@ static ssize_t dev_read(struct file *file, char __user *data,
}
/* if the process slept for more than 1 second,
- * get anewer frame */
+ * get a newer frame */
frame = &gspca_dev->frame[v4l2_buf.index];
if (--n < 0)
break; /* avoid infinite loop */