MLK-21141: VPU Decoder: driver may crash when alloc or free dma
It's caused by allocating and freeing dma buffer in the same time.
and there is no any protection for this case.
refine the driver to avoid this case.
destroy workqueue before release resource
Signed-off-by:
ming_qian <ming.qian@nxp.com>
Loading
Please register or sign in to comment