• M
    ASoC: Flush Samsung DMA on free · 2ca95769
    Mark Brown 提交于
    Ever since it was written the Samsung DMA driver has had a TODO in the
    hw_free() function wondering if we need to flush the DMA buffers. Up until
    now the answer has been no but with the recent improvements Boojin has
    done to the DMA infrastructure for the Samsung port the answer has changed
    to yes for at least S3C6410 systems.
    
    If we don't then when we next prepare() the channel the API will get
    confused trying to run callbacks on the transfers hanging around from the
    previous time the stream was open and oops.
    Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
    Acked-by: NBoojin Kim <boojin.kim@samsung.com>
    Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
    2ca95769
dma.c 11.4 KB