]> 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)
commit1753a8f83b12aed601ea113f1d6a1af00219b71f
treee3185b2b8f9ad1205021f11a29563a5186723029
parentcf0cea688286311085b5034a38ca5816d065f432
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: 1e90ce98e30b (usb: Introduce DesignWare USB3 DRD Driver)
Cc: <stable@vger.kernel.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c