update sdmmc when dma err stop and flush dma