summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/uvc_video.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-03-14 09:48:02 +0100
committerFelipe Balbi <balbi@ti.com>2013-03-18 10:18:12 +0100
commit482ef1d2fec5e5d44d97f7e20b4ccf3d3604aaae (patch)
treeb8a76f7fde5c431eb9a80dcd30523ce1658b4178 /drivers/usb/gadget/uvc_video.c
parentusb: gadget: net2280: remove unused DMA_ADDR_INVALID (diff)
downloadlinux-482ef1d2fec5e5d44d97f7e20b4ccf3d3604aaae.tar.xz
linux-482ef1d2fec5e5d44d97f7e20b4ccf3d3604aaae.zip
usb: gadget: uvc: remove references to DMA_ADDR_INVALID
gadget drivers shouldn't touch req->dma at all, since UDC drivers are the ones required to handle mapping and unmapping of the request buffer. Remove references to DMA_ADDR_INVALID so we don't creat false expectations to gadget driver writers. Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/uvc_video.c')
-rw-r--r--drivers/usb/gadget/uvc_video.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/uvc_video.c b/drivers/usb/gadget/uvc_video.c
index b0e53a8ea4f7..885c393ee470 100644
--- a/drivers/usb/gadget/uvc_video.c
+++ b/drivers/usb/gadget/uvc_video.c
@@ -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;