]> 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)
commit63f70f94fd4fccb6ec739b512f400127d8d67a39
treefce5b37a0744ea81027ed9d5034f05d33363dbf5
parent9eb245832c5229386225bfeced6b872fb94ccc35
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