diff options
| author | Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com> | 2022-05-10 12:42:42 +0530 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2022-05-16 18:21:47 +0530 |
| commit | 517a710ac8fe9cbc48d0ec3ca81377f6ef3b86b7 (patch) | |
| tree | 5d95adb364e077e8665f86cb10c1f307817b5ddd /tools/perf/scripts/python | |
| parent | dmaengine: zynqmp_dma: check dma_async_device_register return value (diff) | |
| download | linux-517a710ac8fe9cbc48d0ec3ca81377f6ef3b86b7.tar.gz linux-517a710ac8fe9cbc48d0ec3ca81377f6ef3b86b7.zip | |
dmaengine: zynqmp_dma: use pm_runtime_resume_and_get() instead of pm_runtime_get_sync()
pm_runtime_resume_and_get() automatically handle dev->power.usage_count
decrement on errors, so prefer using it and also implement it's error
handling.
Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Link: https://lore.kernel.org/r/1652166762-18317-4-git-send-email-radhey.shyam.pandey@xilinx.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
