From: Sebastian Andrzej Siewior Date: Thu, 16 Jun 2011 18:36:56 +0000 (+0200) Subject: usb: gadget: dummy_hcd: set gadget.is_otg before calling bind() X-Git-Tag: v3.1-rc1~234^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99fd14080e7f0a65b87830bf5062b09f6e80dd13;p=pandora-kernel.git usb: gadget: dummy_hcd: set gadget.is_otg before calling bind() Before commit 53832daea ("usb: gadget: dummy_hcd: use the shared_hcd infrastructure") the is_otg field was set in dummy_udc_probe(). It seems to me that this field is used in gadget's bind function. Therefore I'm moving it before the bind() callback is called. Cc: Tatyana Brokhman Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed