usb: gadget: udc: atmel: implement .pullup callback
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Wed, 8 Jul 2020 18:04:10 +0000 (20:04 +0200)
committerFelipe Balbi <balbi@kernel.org>
Fri, 24 Jul 2020 13:45:12 +0000 (16:45 +0300)
commitabac8a85c8196c2a098048ad78552c8b1a236c4d
tree0e77739653b02035ca987ee4d8214579b52d731d
parent37d9453b052dec46f6439658536ca8f301566559
usb: gadget: udc: atmel: implement .pullup callback

Implement udc->pullup callback, so that udc_connect/disconnect work.
This is needed for composite gadget, as it assumes udc_disconnect()
actually works and calls its ->disconnect callback.

Acked-by: Cristian Birsan <cristian.birsan@microchip.com>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/gadget/udc/atmel_usba_udc.c