]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: rcar-dmac: set scatter/gather max segment size
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 14 Sep 2018 15:43:28 +0000 (17:43 +0200)
committerVinod Koul <vkoul@kernel.org>
Sun, 7 Oct 2018 14:34:14 +0000 (20:04 +0530)
commitdd6b3c878a10b711cc7d7ee7724879c17b72ba8d
tree3afecf6a7d7036c165f0e1dc6f787169824ce8ce
parent067ad7000bd02809e051b1c132939d6c78670c3b
dmaengine: rcar-dmac: set scatter/gather max segment size

Fix warning when running with CONFIG_DMA_API_DEBUG_SG=y by allocating a
device_dma_parameters structure and filling in the max segment size.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/sh/rcar-dmac.c