summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc2/core.c
diff options
context:
space:
mode:
authorPavitrakumar Managutte <pavitra1729@gmail.com>2014-10-22 19:33:22 +0530
committerFelipe Balbi <balbi@ti.com>2014-10-23 14:49:35 -0500
commit9b1763553a89b2a84881119eeabfccdb803bb468 (patch)
treeb963040d5e02eadb9546a6caee16ea02cec2579e /drivers/usb/dwc2/core.c
parent3a8146aafcedd93e42045598802e1eb71cae68c0 (diff)
downloadblackbird-op-linux-9b1763553a89b2a84881119eeabfccdb803bb468.tar.gz
blackbird-op-linux-9b1763553a89b2a84881119eeabfccdb803bb468.zip
usb: gadget: function: Fixed the return value on error path
Fixed the return value on failure. status variable is set to 0 at usb_assign_descriptors call and the same is returned on error which is incorrect. Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Pavitrakumar Managutte <pavitra1729@gmail.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc2/core.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud