usb: host: xhci-rcar: Don't reload firmware after the completion
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Fri, 27 Aug 2021 06:32:27 +0000 (15:32 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Sep 2021 09:45:16 +0000 (11:45 +0200)
commitbe587a5781c6bd681d7d9fd144191625255c48bc
tree67fd87571e602b0bf0fd6c11ed5a9156ef84b733
parent79420f330a0f519959be8bd4f55390aa0ccf62da
usb: host: xhci-rcar: Don't reload firmware after the completion

commit 57f3ffdc11143f56f1314972fe86fe17a0dcde85 upstream.

According to the datasheet, "Upon the completion of FW Download,
there is no need to write or reload FW.". Otherwise, it's possible
to cause unexpected behaviors. So, adds such a condition.

Fixes: 4ac8918f3a73 ("usb: host: xhci-plat: add support for the R-Car H2 and M2 xHCI controllers")
Cc: stable@vger.kernel.org # v3.17+
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/20210827063227.81990-1-yoshihiro.shimoda.uh@renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-rcar.c