]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: imx-sdma: error out on unsupported transfer types
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 14 Apr 2022 16:22:38 +0000 (18:22 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 19 Apr 2022 11:06:19 +0000 (12:06 +0100)
commit513a6bbd10c0ec955550f263eaffb86fcb67391c
treeb03768eb28d4f7e5840bab427f614b4a593527b2
parent4382e8badc592c893208235e78713fd79a3d88b5
dmaengine: imx-sdma: error out on unsupported transfer types

The i.MX SDMA driver currently silently ignores unsupported transfer
types. These transfer types are specified in the dma channel description
in the device tree, so they should really be checked.
Issue a message and error out when we hit unsupported transfer types.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-By: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20220414162249.3934543-11-s.hauer@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/dma/imx-sdma.c