diff options
author | Samuel Holland <[email protected]> | 2024-03-12 12:56:38 -0700 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-04-28 14:50:36 -0700 |
commit | fa7d7339016ab7850258e85d6adfd4c4abca5498 (patch) | |
tree | 9d3fa584dbbcfc361df629bffeaffee04969e2f4 /drivers/usb/cdns3/cdns3-debug.h | |
parent | d4b500cceb0e09ae22722d41454df6012848062b (diff) |
riscv: Do not save the scratch CSR during suspend
While the processor is executing kernel code, the value of the scratch
CSR is always zero, so there is no need to save the value. Continue to
write the CSR during the resume flow, so we do not rely on firmware to
initialize it.
Signed-off-by: Samuel Holland <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions