diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2017-04-26 11:50:09 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-24 05:11:15 (GMT) |
commit | cb53a4e03b2f2341f1b24d8c6785d4ff57928f41 (patch) | |
tree | ab304035c1fda4bcabfb1fdbe9315acd2742ce7c /include | |
parent | dd65c0958b77d97a9419f1ccfab3fa8c30f61338 (diff) | |
download | linux-cb53a4e03b2f2341f1b24d8c6785d4ff57928f41.tar.xz |
usb: gadget: udc: renesas_usb3: lock for PN_ registers access
commit 940f538a100c84c6e72813e4ac88bd1753a86945 upstream.
This controller disallows to change the PIPE until reading/writing
a packet finishes. However. the previous code is not enough to hold
the lock in some functions. So, this patch fixes it.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions