Patch "usb: renesas_usbhs: Fix receiving data corrupt on R-Car Gen3 with dmac" has been added to the 4.7-stable tree
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 dmac
to the 4.7-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
usb-renesas_usbhs-fix-receiving-data-corrupt-on-r-car-gen3-with-dmac.patch
and it can be found in the queue-4.7 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
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
From: Yoshihiro Shimoda <[email protected]>
commit 772ce81264b179c0e61340998e3b29e900b2fa6d upstream.
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_infif (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;
Patches currently in stable-queue which might be from [email protected] are
queue-4.7/usb-renesas_usbhs-fix-receiving-data-corrupt-on-r-car-gen3-with-dmac.patch queue-4.7/usb-renesas_usbhs-clear-the-brdysts-in-usbhsg_ep_enable.patch queue-4.7/usb-renesas_usbhs-use-dmac-only-if-the-pipe-type-is-bulk.patch queue-4.7/clk-renesas-r8a7795-fix-sd-clocks.patch