usb: gadget: udc: renesas-usb3: clear VBOUT bit in DRD_CON
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tue, 23 Aug 2016 12:11:13 +0000 (21:11 +0900)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 5 Sep 2016 10:39:23 +0000 (13:39 +0300)
commitb2f1eaaee564c5593c303f4d15d827924cb6d20d
tree670ad7ac1d00222e5f0654e5590829911d437c44
parent9d7aba7786b6c9eec6d083e43fd639228c400c3a
usb: gadget: udc: renesas-usb3: clear VBOUT bit in DRD_CON

This driver should clear the bit. Otherwise, the VBUS will output
wrongly if the usb port on a board has VBUS output capability.

Fixes: 746bfe63bba3 ("usb: gadget: renesas_usb3: add support for
      Renesas USB3.0 peripheral controller")
Cc: <stable@vger.kernel.org> # v4.5+
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