]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitd2ff405960a023a110fd5a6e82ba19d850d94db4
tree1c563a074fc8e1a51875db1bf388ac1e4c97e51a
parent5f5610f69be3a925b1f79af27150bb7377bc9ad6
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 <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