dmaengine: dw: Fix FIFO size for Intel Merrifield
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 5 Dec 2018 16:33:59 +0000 (18:33 +0200)
committerVinod Koul <vkoul@kernel.org>
Thu, 6 Dec 2018 17:23:05 +0000 (22:53 +0530)
commitffe843b18211301ad25893eba09f402c19d12304
tree58508870b5381d1d17d61be6a4a7be00081a515c
parent59861547ec9a9736e7882f6fb0c096a720ff811a
dmaengine: dw: Fix FIFO size for Intel Merrifield

Intel Merrifield has a reduced size of FIFO used in iDMA 32-bit controller,
i.e. 512 bytes instead of 1024.

Fix this by partitioning it as 64 bytes per channel.

Note, in the future we might switch to 'fifo-size' property instead of
hard coded value.

Fixes: 199244d69458 ("dmaengine: dw: add support of iDMA 32-bit hardware")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dw/core.c