summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/uvc.h
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-03-14 10:48:02 +0200
committerFelipe Balbi <balbi@ti.com>2013-03-18 11:18:12 +0200
commit482ef1d2fec5e5d44d97f7e20b4ccf3d3604aaae (patch)
treeb8a76f7fde5c431eb9a80dcd30523ce1658b4178 /drivers/usb/gadget/uvc.h
parent853f97b5f3886012d293257db74d65b14f958940 (diff)
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.h')
-rw-r--r--drivers/usb/gadget/uvc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/uvc.h b/drivers/usb/gadget/uvc.h
index 93b0c1191115..7e90b1d12d09 100644
--- a/drivers/usb/gadget/uvc.h
+++ b/drivers/usb/gadget/uvc.h
@@ -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