Re: [PATCH v6 1/4] dmaengine: dw: platform: check nr_masters to be non-zero

From: Viresh Kumar
Date: Wed Apr 27 2016 - 02:44:56 EST


On 25-04-16, 15:35, Andy Shevchenko wrote:
> The nr_masters value 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.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> ---
> drivers/dma/dw/platform.c | 20 ++++++++++----------
> 1 file changed, 10 insertions(+), 10 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>

--
viresh