]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Fri, 27 Aug 2021 08:24:58 +0000 (10:24 +0200)
commit16bb47358fbba9f5e82176814c9d8f808e558bbe
tree760c924687d0110612c317ae12ffb31b6d207a00
parentfb37f4df600cdd08c04ea09eccf4f8c1877e3f87
usb: host: xhci-rcar: Don't reload firmware after the completion

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: aaab2d9e4cdb ("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