From: Andrzej Pietrasiewicz Date: Thu, 1 Aug 2013 14:07:48 +0000 (+0200) Subject: usb: gadget: cdc2: fix conversion to new interface of f_ecm X-Git-Tag: v3.12-rc2~2^2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2ff405960a023a110fd5a6e82ba19d850d94db4;p=pandora-kernel.git usb: gadget: cdc2: fix conversion to new interface of f_ecm This fixes commit a38a275030086d95306555e544fc7c0e65ccd00e (usb: gadget: cdc2: convert to new interface of f_ecm) The invocation of usb_get_function_instance() is in cdc_bind() and should not be repeated in cdc_do_config(). Signed-off-by: Andrzej Pietrasiewicz Signed-off-by: Kyungmin Park Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed