mirror of
https://github.com/torvalds/linux.git
synced 2024-12-02 00:51:44 +00:00
7667819385
bam_dma_terminate_all() will leak resources if any of the transactions are
committed to the hardware (present in the desc fifo), and not complete.
Since bam_dma_terminate_all() does not cause the hardware to be updated,
the hardware will still operate on any previously committed transactions.
This can cause memory corruption if the memory for the transaction has been
reassigned, and will cause a sync issue between the BAM and its client(s).
Fix this by properly updating the hardware in bam_dma_terminate_all().
Fixes:
|
||
---|---|---|
.. | ||
bam_dma.c | ||
hidma_dbg.c | ||
hidma_ll.c | ||
hidma_mgmt_sys.c | ||
hidma_mgmt.c | ||
hidma_mgmt.h | ||
hidma.c | ||
hidma.h | ||
Kconfig | ||
Makefile |