usb: xhci: tegra: Power-off power-domains on removal
authorJon Hunter <jonathanh@nvidia.com>
Tue, 16 Oct 2018 11:22:42 +0000 (14:22 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Oct 2018 17:44:39 +0000 (19:44 +0200)
commit8c14796b6b2485a31a50318d76d6bc4518dc9d39
tree56a49656ec03aa828bbff11fb47615b701ffb000
parente28fd56ad5273be67d0fae5bedc7e1680e729952
usb: xhci: tegra: Power-off power-domains on removal

Currently the XUSB power domains used by the Tegra xHCI controller are
never powered off on the removal of the driver, however, they will be
powered off on probe failure. Update the removal code to be consistent
with the probe failure path to power off the XUSB power domains.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-tegra.c