Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1388699

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

From Viresh Kumar <viresh.kumar@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH v6 1/4] dmaengine: dw: platform: check nr_masters to be non-zero
Date 2016-04-27 08:50 +0200
Message-ID <rsrsl-4Yn-3@gated-at.bofh.it> (permalink)
References <rrNXY-5VY-11@gated-at.bofh.it> <rrNXY-5VY-13@gated-at.bofh.it> <rrNY0-5VY-51@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@linux.intel.com>
> ---
>  drivers/dma/dw/platform.c | 20 ++++++++++----------
>  1 file changed, 10 insertions(+), 10 deletions(-)

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

-- 
viresh

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH v6 0/4] Fixes / cleanups in dw_dmac (affects on few subsystems) Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2016-04-25 14:40 +0200
  [PATCH v6 4/4] dmaengine: dw: pass platform data via struct dw_dma_chip Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2016-04-25 14:40 +0200
    Re: [PATCH v6 4/4] dmaengine: dw: pass platform data via struct  dw_dma_chip Viresh Kumar <viresh.kumar@linaro.org> - 2016-04-27 08:50 +0200
  [PATCH v6 1/4] dmaengine: dw: platform: check nr_masters to be non-zero Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2016-04-25 14:40 +0200
    Re: [PATCH v6 1/4] dmaengine: dw: platform: check nr_masters to be  non-zero Viresh Kumar <viresh.kumar@linaro.org> - 2016-04-27 08:50 +0200

csiph-web