usb: gadget: function: Added usb_assign_descriptors failure check
authorPavitrakumar Managutte <pavitra1729@gmail.com>
Mon, 27 Oct 2014 17:19:26 +0000 (22:49 +0530)
committerFelipe Balbi <balbi@ti.com>
Mon, 3 Nov 2014 16:01:24 +0000 (10:01 -0600)
commit8b920f16e69550d3f6c7c67dc3cef42aafca498d
treec6842ce1dc4d3d8ef305bce9911e0ee571919881
parent3e87d9a3dee0ad5416c3fb599a6019a24bfe6e64
usb: gadget: function: Added usb_assign_descriptors failure check

Added failure check for usb_assign_descriptors call in bind function.

Acked-By: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Pavitrakumar Managutte <pavitra1729@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/f_ncm.c