diff options
author | Claudiu Beznea <claudiu.beznea@microchip.com> | 2023-02-14 17:18:24 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-04-12 23:18:44 +0530 |
commit | 7c5eb63d16b01c202aaa95f374ae15a807745a73 (patch) | |
tree | eae2f2fb8495d27fd784fc9cdd68f1e2da6b93e8 /tools/perf/scripts/python/task-analyzer.py | |
parent | 44fe8440bda545b5d167329df88c47609a645168 (diff) | |
download | linux-7c5eb63d16b01c202aaa95f374ae15a807745a73.tar.gz linux-7c5eb63d16b01c202aaa95f374ae15a807745a73.tar.bz2 linux-7c5eb63d16b01c202aaa95f374ae15a807745a73.zip |
dmaengine: at_xdmac: restore the content of grws register
In case the system suspends to a deep sleep state where power to DMA
controller is cut-off we need to restore the content of GRWS register.
This is a write only register and writing bit X tells the controller
to suspend read and write requests for channel X. Thus set GRWS before
restoring the content of GE (Global Enable) regiter.
Fixes: e1f7c9eee707 ("dmaengine: at_xdmac: creation of the atmel eXtended DMA Controller driver")
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20230214151827.1050280-5-claudiu.beznea@microchip.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions