Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114032
b: refs/heads/master
c: 219423c
h: refs/heads/master
v: v3
  • Loading branch information
Frank Zago authored and Mauro Carvalho Chehab committed Oct 12, 2008
1 parent f483a5b commit 074cae9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3b11fa3a0651984af60cb8ff8faf0338552ece1f
refs/heads/master: 219423c147f6d4bc91ec904debfbc556887bd8fe
12 changes: 6 additions & 6 deletions trunk/drivers/media/video/gspca/gspca.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,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;
Expand Down Expand Up @@ -420,7 +420,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,
Expand All @@ -444,7 +444,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).
Expand Down Expand Up @@ -591,7 +591,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;

Expand Down Expand Up @@ -626,7 +626,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;
Expand Down Expand Up @@ -1685,7 +1685,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 */
Expand Down

0 comments on commit 074cae9

Please sign in to comment.