OSDN Git Service

usb: host: xhci-tegra: Correct phy enable sequence
authorNagarjuna Kristam <nkristam@nvidia.com>
Mon, 4 Nov 2019 09:24:30 +0000 (14:54 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Nov 2019 11:31:40 +0000 (12:31 +0100)
commit6351653febbb784d86fdf83afe41f7523a61b392
treea3595f6c6b158303462b854e3a966b0e7c187981
parentb38bcc8e12062452ae86158a3bbc4235fd395d91
usb: host: xhci-tegra: Correct phy enable sequence

XUSB phy needs to be enabled before un-powergating the power partitions.
However in the current sequence, it happens opposite. Correct the phy
enable and powergating partition sequence to avoid any boot hangs.

Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Jui Chang Kuo <jckuo@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/1572859470-7823-1-git-send-email-nkristam@nvidia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-tegra.c