]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: gadget: return error if command sent to DEPCMD register fails
authorSubbaraya Sundeep Bhatta <subbaraya.sundeep.bhatta@xilinx.com>
Thu, 21 May 2015 10:16:48 +0000 (15:46 +0530)
committerFelipe Balbi <balbi@ti.com>
Tue, 26 May 2015 15:39:29 +0000 (10:39 -0500)
commit773bf485f4c610bb0d49625715576330a1756390
treee3185b2b8f9ad1205021f11a29563a5186723029
parent6e1395f8c36f15273238b08337006cbc66898314
usb: dwc3: gadget: return error if command sent to DEPCMD register fails

We need to return error to caller if command is not sent to
controller succesfully.

Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com>
Fixes: 9021712f744f (usb: Introduce DesignWare USB3 DRD Driver)
Cc: <stable@vger.kernel.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c