]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
usb: dwc2: gadget: disable phy before turning off power regulators
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 20 Oct 2014 10:45:34 +0000 (12:45 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 23 Oct 2014 18:58:51 +0000 (13:58 -0500)
commit3a8146aafcedd93e42045598802e1eb71cae68c0
tree19b34c127184b8377f54b42f34dbc624be919821
parentd12a8727171c770990c246f0682f0af7859bb245
usb: dwc2: gadget: disable phy before turning off power regulators

This patch fixes probe function to match the pattern used elsewhere in
the driver, where power regulators are turned off as the last element in
the device shutdown procedure.

Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/gadget.c