Skip to content
Commit 9b176355 authored by Pavitrakumar Managutte's avatar Pavitrakumar Managutte Committed by Felipe Balbi
Browse files

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: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarPavitrakumar Managutte <pavitra1729@gmail.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 3a8146aa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment