From: Sascha Hauer <s.hauer@pengutronix.de>
To: Fabio Estevam <fabio.estevam@freescale.com>
Cc: vinod.koul@intel.com, kernel@pengutronix.de,
linux-kernel@vger.kernel.org, dan.j.williams@intel.com,
javier.martin@vista-silicon.com,
Fabio Estevam <festevam@gmail.com>
Subject: Re: [PATCH] dma: imx-dma: Fix kernel crash due to missing clock conversion
Date: Wed, 4 Jul 2012 09:06:38 +0200 [thread overview]
Message-ID: <20120704070638.GI2698@pengutronix.de> (raw)
In-Reply-To: <1341340409-9347-1-git-send-email-fabio.estevam@freescale.com>
On Tue, Jul 03, 2012 at 03:33:29PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@gmail.com>
>
> With the new i.MX clock infrastructure we need to request the dma clocks
> seperately: ahb and ipg clocks.
>
> This fixes the following kernel crash and make audio to be functional again:
>
>
> Reported-by: Javier Martin <javier.martin@vista-silicon.com>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
One minor comment inside, should you have to resend this, please
consider addressing it. Otherwise:
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
> ---
> drivers/dma/imx-dma.c | 36 +++++++++++++++++++++++++-----------
> 1 files changed, 25 insertions(+), 11 deletions(-)
>
> diff --git a/drivers/dma/imx-dma.c b/drivers/dma/imx-dma.c
> index fcfeb3c..5084975 100644
> --- a/drivers/dma/imx-dma.c
> +++ b/drivers/dma/imx-dma.c
> @@ -172,7 +172,8 @@ struct imxdma_engine {
> struct device_dma_parameters dma_parms;
> struct dma_device dma_device;
> void __iomem *base;
> - struct clk *dma_clk;
> + struct clk *dma_ahb;
> + struct clk *dma_ipg;
I would prefer the names 'clk_*' so that it's a bit more obvious what
these are.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2012-07-04 7:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-03 18:33 Fabio Estevam
2012-07-04 7:06 ` Sascha Hauer [this message]
2012-07-26 12:46 ` javier Martin
2012-07-26 13:08 ` Vinod Koul
2012-07-27 3:17 ` Vinod Koul
2012-07-27 11:37 ` Fabio Estevam
2012-07-30 11:31 ` javier Martin
2012-07-30 12:38 ` javier Martin
2012-07-31 6:46 ` Vinod Koul
2012-07-31 11:38 ` Fabio Estevam
2012-07-31 11:46 ` javier Martin
2012-07-31 16:12 ` Vinod Koul
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120704070638.GI2698@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=dan.j.williams@intel.com \
--cc=fabio.estevam@freescale.com \
--cc=festevam@gmail.com \
--cc=javier.martin@vista-silicon.com \
--cc=kernel@pengutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=vinod.koul@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®