This patchset:
- Adds some OF related improvements suggested by Mark
Rutland.
- 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.
- Fixes a bug where GFP_KERNEL was used in atomic context
Andreas Larsson (7):
usb: gadget: gr_udc: Make struct platform_device variable name
clearer and use platform_set/get_drvdata
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
usb: gadget: gr_udc: Use GFP_ATOMIC when allocating under help
spinlock
Documentation/devicetree/bindings/usb/gr-udc.txt | 22 +++++----
drivers/usb/gadget/gr_udc.c | 53 ++++++++++++----------
2 files changed, 42 insertions(+), 33 deletions(-)