Home
last modified time | relevance | path

Searched hist:"9 aed8c08c82d8498769119b73358d070a7cbb54c" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/usb/dwc2/
H A Dgadget.cdiff 9aed8c08c82d8498769119b73358d070a7cbb54c Fri Nov 02 16:29:55 CET 2018 Artur Petrosyan <arthur.petrosyan@synopsys.com> usb: dwc2: gadget: Accept LPM token when TxFIFO is not empty

Set GLPMCFG_LPM_ACCEPT_CTRL_ISOC bit in GLPMCFG register
to accept LPM token during ISOC transfers when TxFIFO is
not empty.

- Added two definitions.
#define GLPMCFG_LPM_ACCEPT_CTRL_CONTROL BIT(21)
#define GLPMCFG_LPM_ACCEPT_CTRL_ISOC BIT(22)
This patch uses GLPMCFG_LPM_ACCEPT_CTRL_ISOC.
GLPMCFG_LPM_ACCEPT_CTRL_CONTROL is defined for further use.

- Added setting GLPMCFG_LPM_ACCEPT_CTRL_ISOC bit in GLPMCFG
register in dwc2_gadget_init_lpm function.

Signed-off-by: Artur Petrosyan <arturp@synopsys.com>
Signed-off-by: Minas Harutyunyan <hminas@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>