Skip to content

usb: gadget: gr_udc: OF and ep.maxpacket_limit improvements and fix of GFP_KERNEL in atomic context

Andreas Larsson linux-devicetree lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 1 replyIn review
  2. v16 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7usb: gadget: gr_udc: Make struct platform_device variable name clearer and use platform_set/get_drvdatadrivers/usb/gadget/gr_udc.c+9 -90 replies
2/7usb: gadget: gr_udc: Expand devicetree documentationDocumentation/devicetree/bindings/usb/gr-udc.txt+14 -80 replies
3/7usb: gadget: gr_udc: Use platform_get_irq instead of irq_of_parse_and_mapdrivers/usb/gadget/gr_udc.c+8 -60 replies
4/7usb: gadget: gr_udc: Use of_property_read_u32_index to access arraysdrivers/usb/gadget/gr_udc.c+4 -80 replies
5/7usb: gadget: gr_udc: Add ep.maxpacket_limit to debugfs informationdrivers/usb/gadget/gr_udc.c+1 -00 replies
6/7usb: gadget: gr_udc: Return error code when trying to set ep.maxpacket > ep.maxpacket_limitdrivers/usb/gadget/gr_udc.c+4 -00 replies
7/7usb: gadget: gr_udc: Use GFP_ATOMIC when allocating under help spinlockdrivers/usb/gadget/gr_udc.c+2 -20 replies
7/7usb: gadget: gr_udc: Use GFP_ATOMIC when allocating under held spinlockdrivers/usb/gadget/gr_udc.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/7] usb: gadget: gr_udc: OF and ep.maxpacket_limit improvements and fix of GFP_KERNEL in atomic context

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(-)
Signature · 6 lines
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html