提交 a6c7c1c4 编写于 作者: P Peter Chen 提交者: Felipe Balbi

usb: gadget: net2272: do not need to judge gadget driver's .unbind

It has already been covered by udc core, besides, we do not
need unbind at .udc_start
Signed-off-by: NPeter Chen <peter.chen@freescale.com>
Signed-off-by: NFelipe Balbi <balbi@ti.com>
上级 7a61612a
......@@ -1453,7 +1453,7 @@ static int net2272_start(struct usb_gadget *_gadget,
struct net2272 *dev;
unsigned i;
if (!driver || !driver->unbind || !driver->setup ||
if (!driver || !driver->setup ||
driver->max_speed != USB_SPEED_HIGH)
return -EINVAL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册