[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABb+yY1BydX=YMe_nenkYr+bsH-3k3gObO3qav5AA5DrxMP=2Q@mail.gmail.com>
Date: Tue, 26 Jul 2011 10:09:51 +0530
From: Jassi Brar <jassisinghbrar@...il.com>
To: Rob Herring <robherring2@...il.com>
Cc: Rob Herring <rob.herring@...xeda.com>,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Vinod Koul <vkoul@...radead.org>,
Dan Williams <dan.j.williams@...el.com>
Subject: Re: [PATCH v2] dmaengine: pl330: make platform data optional
On Tue, Jul 26, 2011 at 2:35 AM, Rob Herring <robherring2@...il.com> wrote:
> From: Rob Herring <rob.herring@...xeda.com>
>
> The pl330 needs platform data for describing peripheral connections, but
> some platforms may only support memory to memory dma channels. In this
> case, we can probe for how many channels there are and don't need the
> platform data.
>
> As memcpy requests don't need channel private data to hold peripheral
> info, allow private data to be NULL in this case.
>
> Signed-off-by: Rob Herring <rob.herring@...xeda.com>
> Cc: Jassi Brar <jassisinghbrar@...il.com>
> Cc: Vinod Koul <vkoul@...radead.org>
> Cc: Dan Williams <dan.j.williams@...el.com>
>
> ---
> Vinod, Can you apply this updated version instead?
>
> v2:
> - Added null ptr check
>
> drivers/dma/pl330.c | 64 ++++++++++++++++++++++++++++----------------------
> 1 files changed, 36 insertions(+), 28 deletions(-)
Acked-by: Jassi Brar <jassisinghbrar@...il.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists