• Lars-Peter Clausen's avatar
    ASoC: samsung: Remove SND_DMAENGINE_PCM_FLAG_NO_RESIDUE flag · d70e861a
    Lars-Peter Clausen authored
    The Samsung dmaengine ASoC driver is used with two different dmaengine drivers.
    The pl80x, which properly supports residue reporting and the pl330, which
    reports that it does not support residue reporting. So there is no need to
    manually set the NO_RESIDUE flag. This has the advantage that a proper (race
    condition free) PCM pointer() implementation is used when the pl80x driver is
    used. Also once the pl330 driver supports residue reporting the ASoC PCM driver
    will automatically start using it.
    Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
    Signed-off-by: default avatarMark Brown <broonie@linaro.org>
    d70e861a
dmaengine.c 2.46 KB