Messages in this thread | | | From | Andreas Larsson <> | Subject | [PATCH 0/6] usb: gadget: gr_udc: OF and ep.maxpacket_limit related improvements | Date | Thu, 9 Jan 2014 11:54:12 +0100 |
| |
This patchset adds some OF related improvements suggested by Mark Rutland.
This patchset also adds ep.maxpacket_limit to the debugfs file and adds a check if gr_ep_enable is called with a maxpacket value greater than ep.maxpacket_limit.
Andreas Larsson (6): usb: gadget: gr_udc: Make struct platform_device variable name clearer usb: gadget: gr_udc: Expand devicetree documentation usb: gadget: gr_udc: Use platform_get_irq instead of irq_of_parse_and_map usb: gadget: gr_udc: Use of_property_read_u32_index to access arrays usb: gadget: gr_udc: Add ep.maxpacket_limit to debugfs information usb: gadget: gr_udc: Return error code when trying to set ep.maxpacket > ep.maxpacket_limit
Documentation/devicetree/bindings/usb/gr-udc.txt | 22 ++++++---- drivers/usb/gadget/gr_udc.c | 49 ++++++++++++---------- 2 files changed, 40 insertions(+), 31 deletions(-)
-- 1.7.10.4
| |