Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 357125
b: refs/heads/master
c: f0fa993
h: refs/heads/master
i:
  357123: 44a64a9
v: v3
  • Loading branch information
Frank Schaefer authored and Mauro Carvalho Chehab committed Dec 22, 2012
1 parent 61fb2de commit b3d1641
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 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: 515688a8985c023ba47cc89eb6a22564fab76694
refs/heads/master: f0fa9936f577597dabd4a0140095bb3b02988814
8 changes: 4 additions & 4 deletions trunk/drivers/media/usb/em28xx/em28xx-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@ static void em28xx_irq_callback(struct urb *urb)
void em28xx_uninit_isoc(struct em28xx *dev, enum em28xx_mode mode)
{
struct urb *urb;
struct em28xx_usb_isoc_bufs *isoc_bufs;
struct em28xx_usb_bufs *isoc_bufs;
int i;

em28xx_isocdbg("em28xx: called em28xx_uninit_isoc in mode %d\n", mode);
Expand Down Expand Up @@ -1012,7 +1012,7 @@ void em28xx_stop_urbs(struct em28xx *dev)
{
int i;
struct urb *urb;
struct em28xx_usb_isoc_bufs *isoc_bufs = &dev->isoc_ctl.digital_bufs;
struct em28xx_usb_bufs *isoc_bufs = &dev->isoc_ctl.digital_bufs;

em28xx_isocdbg("em28xx: called em28xx_stop_urbs\n");

Expand All @@ -1036,7 +1036,7 @@ EXPORT_SYMBOL_GPL(em28xx_stop_urbs);
int em28xx_alloc_isoc(struct em28xx *dev, enum em28xx_mode mode,
int num_packets, int num_bufs, int max_pkt_size)
{
struct em28xx_usb_isoc_bufs *isoc_bufs;
struct em28xx_usb_bufs *isoc_bufs;
int i;
int sb_size, pipe;
struct urb *urb;
Expand Down Expand Up @@ -1134,7 +1134,7 @@ int em28xx_init_isoc(struct em28xx *dev, enum em28xx_mode mode,
{
struct em28xx_dmaqueue *dma_q = &dev->vidq;
struct em28xx_dmaqueue *vbi_dma_q = &dev->vbiq;
struct em28xx_usb_isoc_bufs *isoc_bufs;
struct em28xx_usb_bufs *isoc_bufs;
int i;
int rc;
int alloc;
Expand Down
10 changes: 5 additions & 5 deletions trunk/drivers/media/usb/em28xx/em28xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ enum em28xx_mode {

struct em28xx;

struct em28xx_usb_isoc_bufs {
struct em28xx_usb_bufs {
/* max packet size of isoc transaction */
int max_pkt_size;

Expand All @@ -213,19 +213,19 @@ struct em28xx_usb_isoc_bufs {
/* number of allocated urbs */
int num_bufs;

/* urb for isoc transfers */
/* urb for isoc/bulk transfers */
struct urb **urb;

/* transfer buffers for isoc transfer */
/* transfer buffers for isoc/bulk transfer */
char **transfer_buffer;
};

struct em28xx_usb_isoc_ctl {
/* isoc transfer buffers for analog mode */
struct em28xx_usb_isoc_bufs analog_bufs;
struct em28xx_usb_bufs analog_bufs;

/* isoc transfer buffers for digital mode */
struct em28xx_usb_isoc_bufs digital_bufs;
struct em28xx_usb_bufs digital_bufs;

/* Stores already requested buffers */
struct em28xx_buffer *vid_buf;
Expand Down

0 comments on commit b3d1641

Please sign in to comment.