dma_intel: fix potential invalid batch status 88/38488/1
authorMarvin Liu <yong.liu@intel.com>
Wed, 15 Mar 2023 15:00:52 +0000 (23:00 +0800)
committerMarvin Liu <yong.liu@intel.com>
Wed, 15 Mar 2023 15:15:06 +0000 (23:15 +0800)
commit6a6df00abcb8dd98d4793f4dca114b97a7c48354
tree2db8e6606cad70111bcf18051e95cd46d155c97a
parentf4ddf16eece8648f41b9b3491e4d972aeefb077f
dma_intel: fix potential invalid batch status

DMA batch status was set by hardware. Its value may be variable between
cpus twice accesses. Saving the value of status can fix it.

Type: fix

Signed-off-by: Marvin Liu <yong.liu@intel.com>
Change-Id: Ibc9337239555744a571685b486c986991c3e9b18
src/plugins/dma_intel/dsa.c