diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2016-04-27 13:15:37 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-05-02 12:00:25 +0200 |
commit | 969f750fc63d3fd2f26eceedcdeca5878b785b2e (patch) | |
tree | 04eb31a9002a6db7463fb5937874cbfab909af70 /Documentation/devicetree/bindings/dma/snps-dma.txt | |
parent | dmaengine: dw: lazy allocation of dma descriptors (diff) | |
download | linux-969f750fc63d3fd2f26eceedcdeca5878b785b2e.tar.xz linux-969f750fc63d3fd2f26eceedcdeca5878b785b2e.zip |
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 (limited to 'Documentation/devicetree/bindings/dma/snps-dma.txt')
0 files changed, 0 insertions, 0 deletions