USB: composite: Fix bug: should test set_alt function pointer before use it
commitdd4dff8b035f6dda69ece98e20d4c2d76b9f97d1
authorBryan Wu <cooloney@kernel.org>
Wed, 7 Jan 2009 16:21:18 +0000 (8 00:21 +0800)
committerGreg Kroah-Hartman <gregkh@kvm.kroah.org>
Wed, 28 Jan 2009 00:15:35 +0000 (27 16:15 -0800)
treee511ec053fc8f5fa6400bda583f8968e0a4e4f8d
parentcd67435ef985d0d6279803f2ae48b5248a7178df
USB: composite: Fix bug: should test set_alt function pointer before use it

Signed-off-by: Bryan Wu <cooloney@kernel.org>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/composite.c