From: Bhupesh Sharma Date: Fri, 1 Jun 2012 09:38:55 +0000 (+0530) Subject: usb: gadget: uvc: Use macro for interrupt endpoint status size instead of using a... X-Git-Tag: v3.6-rc1~101^2~53^2~28^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5797663674b0d802f275761e71593b32b0849242;p=pandora-kernel.git 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 Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed