[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <C246CAC1457055469EF09E3A7AC4E11A4A579616@XAP-PVEXMBX01.xlnx.xilinx.com>
Date: Thu, 21 Apr 2016 05:17:50 +0000
From: Appana Durga Kedareswara Rao <appana.durga.rao@...inx.com>
To: Moritz Fischer <moritz.fischer@...us.com>
CC: Rob Herring <robh+dt@...nel.org>,
"pawel.moll@....com" <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
"Michal Simek" <michals@...inx.com>,
Soren Brinkmann <sorenb@...inx.com>,
Vinod Koul <vinod.koul@...el.com>,
Dan Williams <dan.j.williams@...el.com>,
"Laurent Pinchart" <laurent.pinchart@...asonboard.com>,
Luis de Bethencourt <luis@...ethencourt.com>,
Anirudha Sarangi <anirudh@...inx.com>,
"Punnaiah Choudary Kalluri" <punnaia@...inx.com>,
Devicetree List <devicetree@...r.kernel.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"dmaengine@...r.kernel.org" <dmaengine@...r.kernel.org>
Subject: RE: [PATCH 2/2] dmaengine: vdma: Add clock support
Hi Moritz,
Thanks for the review...
> -----Original Message-----
> From: Moritz Fischer [mailto:moritz.fischer@...us.com]
> Sent: Thursday, April 21, 2016 12:09 AM
> To: Appana Durga Kedareswara Rao <appanad@...inx.com>
> Cc: Rob Herring <robh+dt@...nel.org>; pawel.moll@....com; Mark Rutland
> <mark.rutland@....com>; Ian Campbell <ijc+devicetree@...lion.org.uk>;
> Kumar Gala <galak@...eaurora.org>; Michal Simek <michals@...inx.com>;
> Soren Brinkmann <sorenb@...inx.com>; Vinod Koul <vinod.koul@...el.com>;
> Dan Williams <dan.j.williams@...el.com>; Appana Durga Kedareswara Rao
> <appanad@...inx.com>; Laurent Pinchart
> <laurent.pinchart@...asonboard.com>; Luis de Bethencourt
> <luis@...ethencourt.com>; Anirudha Sarangi <anirudh@...inx.com>; Punnaiah
> Choudary Kalluri <punnaia@...inx.com>; Devicetree List
> <devicetree@...r.kernel.org>; linux-arm-kernel <linux-arm-
> kernel@...ts.infradead.org>; Linux Kernel Mailing List <linux-
> kernel@...r.kernel.org>; dmaengine@...r.kernel.org
> Subject: Re: [PATCH 2/2] dmaengine: vdma: Add clock support
>
> Hi,
>
> thanks for looking into this.
>
> On Wed, Apr 20, 2016 at 12:20 AM, Kedareswara rao Appana
> <appana.durga.rao@...inx.com> wrote:
>
> > +static int xdma_clk_init(struct xilinx_dma_device *xdev, bool enable)
> > +{
> > + int i = 0, ret;
> > +
> > + for (i = 0; i < xdev->numclks; i++) {
> > + if (enable) {
> > + ret = clk_prepare_enable(xdev->clks[i]);
> > + if (ret) {
> > + dev_err(xdev->dev,
> > + "failed to enable the axidma clock\n");
> > + return ret;
>
> What happens to the ones you already turned on, if say the third fails?
Will fix in the next version of the patch...
Regards,
Kedar.
>
> Cheers,
>
> Moritz
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
Powered by blists - more mailing lists