]> 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)
commite692c71c62252ab80146e0b9475e2c4ecbc9b532
tree1c563a074fc8e1a51875db1bf388ac1e4c97e51a
parent4c0833176e622e7ba900aaa32d5ce4451bb6e2d4
usb: gadget: cdc2: fix conversion to new interface of f_ecm

This fixes commit e8e8853a28c874fbeb2b1c10ae5854fd3e1597b0
(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