summaryrefslogtreecommitdiff
path: root/staging/cli_tools.c
diff options
context:
space:
mode:
Diffstat (limited to 'staging/cli_tools.c')
0 files changed, 0 insertions, 0 deletions
'>ab703f818ac36b9e74f61b8890f14e5446b7c012 (diff)
dmaengine: dw: platform: check nr_masters to be non-zero
The value of nr_masters equal to 0 is invalid since this DMA controller has to have at least one master. Check this before we proceed with the rest of properties. Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat
-rw-r--r--drivers/dma/dw/platform.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/dma/dw/platform.c b/drivers/dma/dw/platform.c