diff options
author | Robin Gong <[email protected]> | 2021-07-14 18:20:45 +0800 |
---|---|---|
committer | Shawn Guo <[email protected]> | 2021-07-23 11:18:38 +0800 |
commit | e8fafa50645c223e4b8693595c43f98a5b16fe22 (patch) | |
tree | 7f84b195017c6c4c9afbfe9df02f743b85960ee0 /scripts/gdb/linux/timerlist.py | |
parent | e555a03b112838883fdd8185d613c35d043732f2 (diff) |
dmaengine: dma: imx-sdma: add fw_loaded and is_ram_script
Add 'fw_loaded' and 'is_ram_script' to check if the script used by channel
is ram script and it's loaded or not, so that could prevent meaningless
following malloc dma descriptor and bd allocate in sdma_transfer_init(),
otherwise memory may be consumed out potentially without free in case
that spi fallback into pio while dma transfer failed by sdma firmware not
ready(next ERR009165 patch depends on sdma RAM scripts/firmware).
Signed-off-by: Robin Gong <[email protected]>
Acked-by: Vinod Koul <[email protected]>
Reviewed-by: Lucas Stach <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions