From: Alexander Shishkin Date: Tue, 8 May 2012 20:29:03 +0000 (+0300) Subject: usb: gadget: ci13xxx: move endpoint (de-)initialization to probe/remove X-Git-Tag: v3.5-rc1~149^2~111 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=790c2d52b24e2ecd00ca014821c1adc41be2ac94;p=pandora-kernel.git usb: gadget: ci13xxx: move endpoint (de-)initialization to probe/remove Currently, endpoints are initialized in gadget start/stop methods, however for the new style gadgets it is expected that bind() can be called before controller's start(), and we need endpoints already initialized at that point. So, move endpoint initialization to controller's probe before we switch to the "new style" gadget framework. Signed-off-by: Alexander Shishkin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed