]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: cdc2: fix conversion to new interface of f_ecm
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Thu, 1 Aug 2013 14:07:48 +0000 (16:07 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 17 Sep 2013 15:38:52 +0000 (10:38 -0500)
commitacf9b1e424357bef784c640b4430e6d62854d7eb
tree1c563a074fc8e1a51875db1bf388ac1e4c97e51a
parent394997fe00242872e23e08f7c7d5a579c71accd2
usb: gadget: cdc2: fix conversion to new interface of f_ecm

This fixes commit 14358abeae0f1a935479cf6fc32e321e89097dc7
(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 <andrzej.p@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/cdc2.c