]> git.baikalelectronics.ru Git - kernel.git/commit
USB: gadget: net2280: remove leftover driver->unbind call in error pathway
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 15 Mar 2013 18:03:17 +0000 (14:03 -0400)
committerFelipe Balbi <balbi@ti.com>
Wed, 20 Mar 2013 14:46:34 +0000 (16:46 +0200)
commit4a5211a822dd14cb336425888ba5867fb0f1b2af
tree1334be6bfa382bd0343093e263314622379da1e0
parent916c454cf0bd2fe1c5e164f2a66addbad2df90d7
USB: gadget: net2280: remove leftover driver->unbind call in error pathway

This patch (as1667) removes an incorrect driver->unbind() call from
the net2280 driver.  If startup fails, the UDC core takes care of
unbinding the gadget driver automatically; the controller driver
shouldn't do it too.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/net2280.c