• Sascha Hauer's avatar
    ARM i.MX dma: Fix burstsize settings · 6584cb88
    Sascha Hauer authored
    dmaengine expects the maxburst parameter in words, not bytes.
    The imxdma driver and its users do this wrong. Fix this.
    
    As a side note the imx-pcm-dma-mx2 driver was 'fixed' to work
    with imx-dma. This broke the driver with imx-sdma support which
    correctly takes the maxburst parameter in words. This patch
    puts the sdma based sound back to work.
    Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
    6584cb88
imx-pcm-dma-mx2.c 8.58 KB