summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/webcam.c
diff options
context:
space:
mode:
authorBhupesh Sharma <bhupesh.sharma@st.com>2012-06-01 09:38:55 (GMT)
committerFelipe Balbi <balbi@ti.com>2012-06-04 15:12:31 (GMT)
commit5797663674b0d802f275761e71593b32b0849242 (patch)
tree86f1ee4d35e18002d99d2f930424018bb8b79491 /drivers/usb/gadget/webcam.c
parent3de6e63f7845e99981e489ddccf70b3ec02fe00a (diff)
downloadlinux-fsl-qoriq-5797663674b0d802f275761e71593b32b0849242.tar.xz
usb: gadget: uvc: Use macro for interrupt endpoint status size instead of using a MAGIC number
This patch adds a MACRO for the UVC video control status (interrupt) endpoint and removes the magic number which was being used earlier. Some UDCs have issues supporting an interrupt IN endpoint having a max packet size less than a particular value (say 32). It is easier in that case to simply change the MACRO value instead of changing the max packet size value at a number of locations. Signed-off-by: Bhupesh Sharma <bhupesh.sharma@st.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/webcam.c')
0 files changed, 0 insertions, 0 deletions