diff options
author | Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> | 2024-02-02 11:41:27 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-02-06 13:14:56 +0300 |
commit | c5c0714e29508fd748ee5df09ae242476bf2e451 (patch) | |
tree | 79211d89de1c3e754394bafe09056819b6faa1b3 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 7493bb4c400ce5e36cdc962349d7987d0bc1ccd2 (diff) | |
download | linux-c5c0714e29508fd748ee5df09ae242476bf2e451.tar.xz |
net: ravb: Assert/de-assert reset on suspend/resume
RZ/G3S can go to deep sleep states where power to most of the SoC parts is
off. When resuming from such a state, the Ethernet controller needs to be
reinitialized. De-asserting the reset signal for it should also be done.
Thus, add reset assert/de-assert on suspend/resume functions.
On the resume function, the de-assert was not reverted in case of failures
to give the user a chance to restore the interface (e.g., bringing down/up
the interface) in case suspend/resume failed.
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions