]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: dmatest: Restore default for channel
authorVladimir Murzin <vladimir.murzin@arm.com>
Wed, 29 Apr 2020 07:15:22 +0000 (08:15 +0100)
committerVinod Koul <vkoul@kernel.org>
Wed, 13 May 2020 11:27:25 +0000 (16:57 +0530)
commit68abfaa37834aaf3de1f6612ab6632e0cf55ca6f
tree27c69b3b6ea2bcb290a1bc99a0b1146ea0074b05
parente86e12b2baf1decc778bec5d6e2af714b03b3cea
dmaengine: dmatest: Restore default for channel

In case of dmatest is built-in and no channel was configured test
doesn't run with:

dmatest: Could not start test, no channels configured

Even though description to "channel" parameter claims that default is
any.

Add default channel back as it used to be rather than reject test with
no channel configuration.

Fixes: e61b5e40169f21cc48f2b55af0cf8936a7da7161 ("dmaengine: dmatest: Add support for multi channel testing)
Reported-by: Dijil Mohan <Dijil.Mohan@arm.com>
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Link: https://lore.kernel.org/r/20200429071522.58148-1-vladimir.murzin@arm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dmatest.c