Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250279
b: refs/heads/master
c: bb06646
h: refs/heads/master
i:
  250277: 8c85c5a
  250275: 23f6bcd
  250271: b5df8ab
v: v3
  • Loading branch information
Drew Fisher authored and Mauro Carvalho Chehab committed May 20, 2011
1 parent bbe62ce commit acb58be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: aff8ab5cc11c2c14b7ae3bb38cbe012c43b7dcef
refs/heads/master: bb066467aa1af2d45ffbfcbba32c0bde201c8eb4
6 changes: 4 additions & 2 deletions trunk/drivers/media/video/gspca/kinect.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ struct sd {
struct gspca_dev gspca_dev; /* !! must be the first item */
uint16_t cam_tag; /* a sequence number for packets */
uint8_t stream_flag; /* to identify different steram types */
uint8_t obuf[0x400]; /* output buffer for control commands */
uint8_t ibuf[0x200]; /* input buffer for control commands */
};

/* V4L2 controls supported by the driver */
Expand Down Expand Up @@ -133,8 +135,8 @@ static int send_cmd(struct gspca_dev *gspca_dev, uint16_t cmd, void *cmdbuf,
struct sd *sd = (struct sd *) gspca_dev;
struct usb_device *udev = gspca_dev->dev;
int res, actual_len;
uint8_t obuf[0x400];
uint8_t ibuf[0x200];
uint8_t *obuf = sd->obuf;
uint8_t *ibuf = sd->ibuf;
struct cam_hdr *chdr = (void *)obuf;
struct cam_hdr *rhdr = (void *)ibuf;

Expand Down

0 comments on commit acb58be

Please sign in to comment.