Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364711
b: refs/heads/master
c: 482ef1d
h: refs/heads/master
i:
  364709: f92d1c2
  364707: 8332ecd
  364703: cd0b2b1
v: v3
  • Loading branch information
Felipe Balbi committed Mar 18, 2013
1 parent cb3287b commit 4565663
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 5 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: 853f97b5f3886012d293257db74d65b14f958940
refs/heads/master: 482ef1d2fec5e5d44d97f7e20b4ccf3d3604aaae
2 changes: 0 additions & 2 deletions trunk/drivers/usb/gadget/uvc.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ extern unsigned int uvc_gadget_trace_param;
#define DRIVER_VERSION "0.1.0"
#define DRIVER_VERSION_NUMBER KERNEL_VERSION(0, 1, 0)

#define DMA_ADDR_INVALID (~(dma_addr_t)0)

#define UVC_NUM_REQUESTS 4
#define UVC_MAX_REQUEST_SIZE 64
#define UVC_MAX_EVENTS 4
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/usb/gadget/uvc_v4l2.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ uvc_send_response(struct uvc_device *uvc, struct uvc_request_data *data)

req->length = min_t(unsigned int, uvc->event_length, data->length);
req->zero = data->length < uvc->event_length;
req->dma = DMA_ADDR_INVALID;

memcpy(req->buf, data->data, data->length);

Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/usb/gadget/uvc_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ uvc_video_alloc_requests(struct uvc_video *video)

video->req[i]->buf = video->req_buffer[i];
video->req[i]->length = 0;
video->req[i]->dma = DMA_ADDR_INVALID;
video->req[i]->complete = uvc_video_complete;
video->req[i]->context = video;

Expand Down

0 comments on commit 4565663

Please sign in to comment.