WSL2-Linux-Kernel/drivers/usb/renesas_usbhs
Yoshihiro Shimoda b76032396d usb: renesas_usbhs: add wait after initialization for R-Car Gen3
Since the controller on R-Car Gen3 doesn't have any status registers
to detect initialization (LPSTS.SUSPM = 1) and the initialization needs
up to 45 usec, this patch adds wait after the initialization. Otherwise,
writing other registers (e.g. INTENB0) will fail.

Fixes: de18757e27 ("usb: renesas_usbhs: add R-Car Gen3 power control")
Cc: <stable@vger.kernel.org> # v4.6+
Cc: <balbi@kernel.org>
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-10-24 14:35:46 +02:00
..
Kconfig usb: renesas_usbhs: Use ARCH_RENESAS 2016-02-20 20:21:53 -08:00
Makefile usb: renesas_usbhs: add R-Car Gen3 power control 2016-03-04 15:14:28 +02:00
common.c usb: renesas_usbhs: add a compatible string for r8a7796 2016-08-31 10:05:46 +03:00
common.h usb: renesas_usbhs: add support for USB-DMAC 2015-03-13 10:41:19 -05:00
fifo.c usb: renesas_usbhs: Use dmac only if the pipe type is bulk 2016-08-11 15:09:43 +03:00
fifo.h usb: renesas_usbhs: constify usbhs_pkt_handle structures 2016-01-24 19:45:09 -08:00
mod.c usb: renesas_usbhs: fix clearing the {BRDY,BEMP}STS condition 2016-09-05 13:39:23 +03:00
mod.h renesas_usbhs: cleanup quoted includes 2012-06-05 10:15:25 +02:00
mod_gadget.c usb: patches for v4.9 merge window 2016-09-14 20:37:50 +02:00
mod_host.c usb: renesas_usbhs: mod_host: don't print on ENOMEM 2016-08-30 19:17:39 +02:00
pipe.c usb: renesas_usbhs: pipe: don't print on ENOMEM 2016-08-30 19:17:39 +02:00
pipe.h usb: renesas_usbhs: change arguments of dma_map_ctrl() 2016-04-19 11:11:54 +03:00
rcar2.c usb: renesas_usbhs: Remove unneeded #include <linux/platform_data/gpio-rcar.h> 2015-10-20 16:03:36 +02:00
rcar2.h usb: renesas_usbhs: add R-Car Gen. 2 init and power control 2014-07-16 10:06:32 -05:00
rcar3.c usb: renesas_usbhs: add wait after initialization for R-Car Gen3 2016-10-24 14:35:46 +02:00
rcar3.h usb: renesas_usbhs: add R-Car Gen3 power control 2016-03-04 15:14:28 +02:00