-
由 M'boumba Cedric Madianga 提交于
chan->desc is always set to NULL when a DMA transfer is complete. As a DMA transfer could be complete during the call of stm32_dma_tx_status, we need to be sure that chan->desc is not NULL before using this variable to avoid a null pointer deference issue. Signed-off-by: NM'boumba Cedric Madianga <cedric.madianga@gmail.com> Reviewed-by: NLudovic BARRE <ludovic.barre@st.com> Signed-off-by: NVinod Koul <vinod.koul@intel.com>
57b5a321