[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151031014244.GF21326@localhost>
Date: Sat, 31 Oct 2015 07:12:44 +0530
From: Vinod Koul <vinod.koul@...el.com>
To: Han Xu <b45815@...escale.com>
Cc: shijie.huang@....com, dwmw2@...radead.org,
computersforpeace@...il.com, boris.brezillon@...e-electrons.com,
fabio.estevam@...escale.com, hofrat@...dl.org,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org,
dan.j.williams@...el.com, dmaengine@...r.kernel.org
Subject: Re: [PATCH v7 2/7] dmaengine: mxs: APBH DMA supports deep sleep mode
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?
> +#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);
> + if (ret)
> + return ret;
> + return 0;
why not return mxs_dma_init() then!
--
~Vinod
--
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