diff options
author | Théo Lebrun <theo.lebrun@bootlin.com> | 2025-02-05 20:36:54 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-14 11:18:03 +0300 |
commit | 3a85c10115407588fad696d6c121d54cd5ba5d72 (patch) | |
tree | fb7ab79f9988f5e337da577b7ffc5a0e9398f48e /lib/test_fortify/write_overflow-strncpy.c | |
parent | 668cc6bc1178ac94a6ff0eba3a9e8be59f89c318 (diff) | |
download | linux-3a85c10115407588fad696d6c121d54cd5ba5d72.tar.xz |
usb: host: cdns3: forward lost power information to xhci
cdns3-plat can know if power was lost across system-wide suspend.
Forward that information:
- Grab the lost_power bool from cdns_role_driver::resume(). Store it
into the power_lost field in struct xhci_plat_priv.
- xhci-plat will call xhci_resume() with that value (ORed to whether we
are in a hibernation restore).
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Link: https://lore.kernel.org/r/20250205-s2r-cdns-v7-9-13658a271c3c@bootlin.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions