]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usb: gadget: udc: renesas_usb3: Fix PN_INT_ENA disabling timing
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Wed, 26 Apr 2017 11:50:10 +0000 (20:50 +0900)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 2 Jun 2017 09:45:02 +0000 (12:45 +0300)
commitafbbc7913a288c29616bd31ae612548f6475151a
tree9ac90f90ff826bfa1a231f26492956f196a55ea3
parent940f538a100c84c6e72813e4ac88bd1753a86945
usb: gadget: udc: renesas_usb3: Fix PN_INT_ENA disabling timing

The PN_INT_ENA register should be used after usb3_pn_change() is called.
So, this patch moves the access from renesas_usb3_stop_controller() to
usb3_disable_pipe_n().

Fixes: 746bfe63bba3 ("usb: gadget: renesas_usb3: add support for Renesas USB3.0 peripheral controller")
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/renesas_usb3.c