mbox series

[v1,0/2] usb: dwc2: gadget: Fix Service Interval support.

Message ID cover.1541168990.git.arturp@synopsys.com (mailing list archive)
Headers show
Series usb: dwc2: gadget: Fix Service Interval support. | expand

Message

Artur Petrosyan Nov. 2, 2018, 3:29 p.m. UTC
1. This patch set fixes WkupAlert interrupt handler.
2. Adds support to accept LPM token when TxFIFO
   is not empty.

NOTE: Request to add this patch set on "tag: usb-for-v4.20"

Changes from V0:
- Add Fixes: tag in
   "56f25126ae1f usb: dwc2: gadget: Fix WkupAlert interrupt handler."
- Modify patch description of
    "47df165e6d0f usb: dwc2: gadget: Accept LPM token when TxFIFO is
     not empty"
- Fix and modify some register definitions in the same patch
    changed from
        #define GLPMCFG_RETRY_CNT_0                 21
        #define GLPMCFG_RETRY_CNT_1                 22
        #define GLPMCFG_RETRY_CNT_2                 23
    to
        #define GLPMCFG_LPM_ACCEPT_CTRL_CONTROL        BIT(21)
        #define GLPMCFG_LPM_ACCEPT_CTRL_ISOC   BIT(22)
- Set GLPMCFG_LPM_ACCEPT_CTRL_ISOC bit in GLPMCFG
  register in dwc2_gadget_init_lpm function.


Artur Petrosyan (2):
  usb: dwc2: gadget: Fix WkupAlert interrupt handler.
  usb: dwc2: gadget: Accept LPM token when TxFIFO is not empty

 drivers/usb/dwc2/gadget.c | 3 ++-
 drivers/usb/dwc2/hw.h     | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)