usb, composite: after unregister gadget driver set composite to NULL
authorHeiko Schocher <hs@denx.de>
Tue, 4 Jun 2013 09:21:32 +0000 (11:21 +0200)
committerMarek Vasut <marex@denx.de>
Wed, 12 Jun 2013 20:22:52 +0000 (22:22 +0200)
commitc67b0e42a59c7ef15495bfde006398abaf2f562f
tree4cab04d60a7ac1ab8619b4375608927d8abacf03
parentd3e07478468a4544e803ff89285e400da6bc7b2d
usb, composite: after unregister gadget driver set composite to NULL

Without this, second usb_composite_register() call fails always
with -EINVAL.

Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Marek Vasut <marex@denx.de>
drivers/usb/gadget/composite.c