From: Pavitrakumar Managutte Date: Wed, 22 Oct 2014 14:03:22 +0000 (+0530) Subject: usb: gadget: function: Fixed the return value on error path X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~17^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b1763553a89b2a84881119eeabfccdb803bb468;p=pandora-kernel.git 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 Signed-off-by: Pavitrakumar Managutte Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed