usb: gadget: android: Don't allow changing the functions list if enabled
authorBenoit Goby <benoit@android.com>
Sat, 10 Dec 2011 02:05:00 +0000 (18:05 -0800)
committerBenoit Goby <benoit@android.com>
Sat, 10 Dec 2011 02:54:56 +0000 (18:54 -0800)
commitdc1b6340394ef744e210247ab786df66639f5a33
treeeb4318c586586e99831e8f080d4d950e856348f1
parente0de0a507d83e84c833d01de9e46a44b12419431
usb: gadget: android: Don't allow changing the functions list if enabled

Change-Id: I3ad39b420ce79a8602a7eca1daac1f56b30bad5c
Signed-off-by: Benoit Goby <benoit@android.com>
drivers/usb/gadget/android.c