From: Subbaraya Sundeep Bhatta Date: Thu, 21 May 2015 10:16:47 +0000 (+0530) Subject: usb: dwc3: gadget: return error if command sent to DGCMD register fails X-Git-Tag: omap-for-v4.2/fixes-rc1^2~90^2~16^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=891b1dc022955d36cf4c0f42d383226a930db7ed;p=pandora-kernel.git usb: dwc3: gadget: return error if command sent to DGCMD register fails We need to return error to caller if command is not sent to controller succesfully. Signed-off-by: Subbaraya Sundeep Bhatta Fixes: b09bb64239c8 (usb: dwc3: gadget: implement Global Command support) Cc: #v3.5+ Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed