• Jon Hunter's avatar
    dmaengine: tegra210-adma: Fix channel FIFO configuration · 9ab59bf5
    Jon Hunter authored
    Commit ded1f3db ("dmaengine: tegra210-adma: prepare for supporting
    newer Tegra chips") removed the default settings DMA channel RX and TX
    FIFO sizes and this is breaking DMA transfers. The intention was to
    move the default settings to the chip specific data structure because
    this commit was preparing for adding support for Tegra186 where the
    fields for the FIFO CTRL register are slightly different.
    
    Fix the configuration of the FIFO sizes by adding default values for
    the FIFO CTRL register for both Tegra210 and Tegra186 and store the
    values in the chip specific structure.
    
    Fixes: ded1f3db ("dmaengine: tegra210-adma: prepare for supporting newer Tegra chips")
    Signed-off-by: default avatarJon Hunter <jonathanh@nvidia.com>
    Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
    9ab59bf5
tegra210-adma.c 25.9 KB