]> git.baikalelectronics.ru Git - kernel.git/commit
usb: host: xhci-tegra: Add support for XUSB context save/restore
authorThierry Reding <treding@nvidia.com>
Fri, 6 Dec 2019 14:06:51 +0000 (15:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Dec 2019 10:36:29 +0000 (11:36 +0100)
commit9931650ee31dcb81082de0347f4543e3625621da
treefce5b37a0744ea81027ed9d5034f05d33363dbf5
parent10f588cf913563da46a29691af2d87cd2e37d041
usb: host: xhci-tegra: Add support for XUSB context save/restore

The XUSB controller contains registers that need to be saved on suspend
and restored on resume in addition to the XHCI specific registers. Add
support for saving and restoring the XUSB specific context.

Based on work by JC Kuo <jckuo@nvidia.com>.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20191206140653.2085561-9-thierry.reding@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-tegra.c