usb: renesas_usbhs: Fix receiving data corrupt on R-Car Gen3 with dmac
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Mon, 8 Aug 2016 12:50:51 +0000 (21:50 +0900)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 11 Aug 2016 12:09:43 +0000 (15:09 +0300)
commit772ce81264b179c0e61340998e3b29e900b2fa6d
treead8ac8d93c71db2dc445de4a8fe568e735eebb45
parent4491ed5042f0419b22a4b08331adb54af31e2caa
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.

Fixes: de18757e272d ("usb: renesas_usbhs: add R-Car Gen3 power control")
Cc: <stable@vger.kernel.org> # v4.5+
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/renesas_usbhs/common.c