commit | 940f538a100c84c6e72813e4ac88bd1753a86945 | [log] [tgz] |
---|---|---|
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | Wed Apr 26 20:50:09 2017 +0900 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Fri Jun 02 12:44:59 2017 +0300 |
tree | 2d088a74723fd026cb3f6a5cda5d8a1e3e0b2797 | |
parent | 067d6fdc558d2c43f0bfdc7af99630dd5eb08dc5 [diff] |
usb: gadget: udc: renesas_usb3: lock for PN_ registers access 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>