Loading drivers/usb/gadget/ci13xxx_msm.c +6 −0 Original line number Diff line number Diff line Loading @@ -143,10 +143,16 @@ static void ci13xxx_msm_reset(void) struct ci13xxx *udc = _udc; struct usb_phy *phy = udc->transceiver; struct device *dev = udc->gadget.dev.parent; int temp; writel_relaxed(0, USB_AHBBURST); writel_relaxed(0x08, USB_AHBMODE); /* workaround for rx buffer collision issue */ temp = readl_relaxed(USB_GENCONFIG); temp &= ~GENCONFIG_TXFIFO_IDLE_FORCE_DISABLE; writel_relaxed(temp, USB_GENCONFIG); if (udc->gadget.l1_supported) ci13xxx_msm_set_l1(udc); Loading include/linux/usb/msm_hsusb_hw.h +1 −0 Original line number Diff line number Diff line Loading @@ -75,6 +75,7 @@ #define ULPI_DATA_READ(n) (((n) >> 8) & 255) #define GENCONFIG_BAM_DISABLE (1 << 13) #define GENCONFIG_TXFIFO_IDLE_FORCE_DISABLE (1 << 4) /* synopsys 28nm phy registers */ #define ULPI_PWR_CLK_MNG_REG 0x88 Loading Loading
drivers/usb/gadget/ci13xxx_msm.c +6 −0 Original line number Diff line number Diff line Loading @@ -143,10 +143,16 @@ static void ci13xxx_msm_reset(void) struct ci13xxx *udc = _udc; struct usb_phy *phy = udc->transceiver; struct device *dev = udc->gadget.dev.parent; int temp; writel_relaxed(0, USB_AHBBURST); writel_relaxed(0x08, USB_AHBMODE); /* workaround for rx buffer collision issue */ temp = readl_relaxed(USB_GENCONFIG); temp &= ~GENCONFIG_TXFIFO_IDLE_FORCE_DISABLE; writel_relaxed(temp, USB_GENCONFIG); if (udc->gadget.l1_supported) ci13xxx_msm_set_l1(udc); Loading
include/linux/usb/msm_hsusb_hw.h +1 −0 Original line number Diff line number Diff line Loading @@ -75,6 +75,7 @@ #define ULPI_DATA_READ(n) (((n) >> 8) & 255) #define GENCONFIG_BAM_DISABLE (1 << 13) #define GENCONFIG_TXFIFO_IDLE_FORCE_DISABLE (1 << 4) /* synopsys 28nm phy registers */ #define ULPI_PWR_CLK_MNG_REG 0x88 Loading