mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
usb: gadget: udc: renesas_usb3: fix number of the pipes
commita58204ab91upstream. This controller on R-Car Gen3 has 6 pipes that included PIPE 0 for control actually. But, the datasheet has error in writing as it has 31 pipes. (However, the previous code defined 30 pipes wrongly...) Anyway, this patch fixes it. Fixes:746bfe63bb("usb: gadget: renesas_usb3: add support for Renesas USB3.0 peripheral controller") Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
3781db07c7
commit
fbe9a14180
@@ -222,7 +222,7 @@
|
||||
#define USB3_EP0_SS_MAX_PACKET_SIZE 512
|
||||
#define USB3_EP0_HSFS_MAX_PACKET_SIZE 64
|
||||
#define USB3_EP0_BUF_SIZE 8
|
||||
#define USB3_MAX_NUM_PIPES 30
|
||||
#define USB3_MAX_NUM_PIPES 6 /* This includes PIPE 0 */
|
||||
#define USB3_WAIT_US 3
|
||||
|
||||
struct renesas_usb3;
|
||||
|
||||
Reference in New Issue
Block a user