summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorThéo Lebrun <theo.lebrun@bootlin.com>2025-02-05 20:36:51 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-14 11:18:02 +0300
commit9925aa4b025e46cffc9fc98c5fb28a4a303a739b (patch)
tree59023b7be62cbeb7d119e472823b61396e0c8fca /tools/perf/scripts/python/libxed.py
parent24346dc29174632237ad3f6f920fbe0765061cf9 (diff)
downloadlinux-9925aa4b025e46cffc9fc98c5fb28a4a303a739b.tar.xz
usb: cdns3-ti: run HW init at resume() if HW was reset
At runtime_resume(), read the W1 (Wrapper Register 1) register to detect if an hardware reset occurred. If it did, run the hardware init sequence. This callback will be called at system-wide resume. Previously, if a reset occurred during suspend, we would crash. The wrapper config had not been written, leading to invalid register accesses inside cdns3. Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com> Link: https://lore.kernel.org/r/20250205-s2r-cdns-v7-6-13658a271c3c@bootlin.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions