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


Groups > linux.kernel > #1260718 > unrolled thread

Re: [PATCH v7 2/7] dmaengine: mxs: APBH DMA supports deep sleep mode

Started byThomas Petazzoni <thomas.petazzoni@free-electrons.com>
First post2015-11-02 16:30 +0100
Last post2015-11-02 16:50 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v7 2/7] dmaengine: mxs: APBH DMA supports deep sleep  mode Thomas Petazzoni <thomas.petazzoni@free-electrons.com> - 2015-11-02 16:30 +0100
    Re: [PATCH v7 2/7] dmaengine: mxs: APBH DMA supports deep sleep mode' Vinod Koul <vinod.koul@intel.com> - 2015-11-02 16:50 +0100

#1260718 — Re: [PATCH v7 2/7] dmaengine: mxs: APBH DMA supports deep sleep mode

FromThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date2015-11-02 16:30 +0100
SubjectRe: [PATCH v7 2/7] dmaengine: mxs: APBH DMA supports deep sleep mode
Message-ID<qqpdv-6XC-1@gated-at.bofh.it>
Vinod,

On Sat, 31 Oct 2015 07:12:44 +0530, Vinod Koul wrote:
> On Tue, Oct 27, 2015 at 05:05:35PM -0500, Han Xu wrote:
> >  
> > -static int __init mxs_dma_init(struct mxs_dma_engine *mxs_dma)
> > +static int mxs_dma_init(struct mxs_dma_engine *mxs_dma)
> 
> This change seems unrelated to patch description, can you explain why?

It seems related: mxs_dma_init() is now no longer called at
initialization time, but also when resuming, as visible...

> 
> > +#ifdef CONFIG_PM_SLEEP
> > +static int mxs_dma_pm_resume(struct device *dev)
> > +{
> > +	struct mxs_dma_engine *mxs_dma = dev_get_drvdata(dev);
> > +	int ret;
> > +
> > +	ret = mxs_dma_init(mxs_dma);

... here.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1260740 — Re: [PATCH v7 2/7] dmaengine: mxs: APBH DMA supports deep sleep mode'

FromVinod Koul <vinod.koul@intel.com>
Date2015-11-02 16:50 +0100
SubjectRe: [PATCH v7 2/7] dmaengine: mxs: APBH DMA supports deep sleep mode'
Message-ID<qqpwS-745-25@gated-at.bofh.it>
In reply to#1260718
On Mon, Nov 02, 2015 at 04:29:06PM +0100, Thomas Petazzoni wrote:
> Vinod,
> 
> On Sat, 31 Oct 2015 07:12:44 +0530, Vinod Koul wrote:
> > On Tue, Oct 27, 2015 at 05:05:35PM -0500, Han Xu wrote:
> > >  
> > > -static int __init mxs_dma_init(struct mxs_dma_engine *mxs_dma)
> > > +static int mxs_dma_init(struct mxs_dma_engine *mxs_dma)
> > 
> > This change seems unrelated to patch description, can you explain why?
> 
> It seems related: mxs_dma_init() is now no longer called at
> initialization time, but also when resuming, as visible...

Right looks good then

-- 
~Vinod
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web