usb: cdns3: gadget: Don't manage pullups
authorRoger Quadros <rogerq@ti.com>
Wed, 23 Oct 2019 09:02:32 +0000 (12:02 +0300)
committerFelipe Balbi <balbi@kernel.org>
Sun, 27 Oct 2019 06:58:45 +0000 (08:58 +0200)
commitf3fb802efaef3662744a2215a51294d52a7cfc0e
treef1f4a37e7a625b2c80228149b068f66b9b3331a3
parenta7d9874c6f3fbc8d25cd9ceba35b6822612c4ebf
usb: cdns3: gadget: Don't manage pullups

The USB gadget core is supposed to manage pullups
of the controller. Don't manage pullups from within
the controller driver. Otherwise, function drivers
are not able to keep the controller disconnected from
the bus till they are ready. (e.g. g_webcam)

Reviewed-by: Pawel Laszczak <pawell@cadence.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/cdns3/gadget.c