patch "usb: renesas_usbhs: Fix receiving data corrupt on R-Car Gen3 with" added to usb-linus
Subsystems (2)
This is a note to let you know that I've just added the patch titled
usb: renesas_usbhs: Fix receiving data corrupt on R-Car Gen3 with
to my usb git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
in the usb-linus branch.
The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.)
The patch will hopefully also be merged in Linus's tree for the next -rc kernel release.
If you have any questions about this process, please let me know.
Quoted 1 line
From
772ce81264b179c0e61340998e3b29e900b2fa6dMon Sep 17 00:00:00 2001
From: Yoshihiro Shimoda <[email protected]>
Date: Mon, 8 Aug 2016 21:50:51 +0900
Subject: usb: renesas_usbhs: Fix receiving data corrupt on R-Car Gen3 with
dmac
Since R-Car Gen3 SoC has the USB-DMAC, this driver should set dparam->has_usb_dmac to 1. Otherwise, behavior of this driver and the usb-dmac driver will be mismatch, then sometimes receiving data will be corrupt.
--- drivers/usb/renesas_usbhs/common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/usb/renesas_usbhs/common.c +2 -1
@@ -514,7 +514,8 @@ static struct renesas_usbhs_platform_info *usbhs_parse_dt(struct device *dev)if (gpio >0 ) dparam->enable_gpio = gpio; -if (dparam->type ==USBHS_TYPE_RCAR_GEN2 ) +if (dparam->type ==USBHS_TYPE_RCAR_GEN2 || + dparam->type ==USBHS_TYPE_RCAR_GEN3 ) dparam->has_usb_dmac =1 ;return info;
Signature · 1 line
2.9.2