[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180822111649.GA2766@nishad>
Date: Wed, 22 Aug 2018 16:46:50 +0530
From: Nishad Kamdar <nishadkamdar@...il.com>
To: i Dan Carpenter <dan.carpenter@...cle.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
NeilBrown <neil@...wn.name>, Joe Perches <joe@...ches.com>,
Christian Lütke-Stetzkamp <christian@...mp.de>,
John Crispin <blogic@...nwrt.org>
Subject: Re: [PATCH v4 2/4] staging: mt7621-mmc: Fix debug macro ERR_MSG and
its usages
On Wed, Aug 22, 2018 at 12:13:42PM +0300, Dan Carpenter wrote:
> On Wed, Aug 22, 2018 at 02:13:07PM +0530, Nishad Kamdar wrote:
> > diff --git a/drivers/staging/mt7621-mmc/sd.c b/drivers/staging/mt7621-mmc/sd.c
> > index 04d23cc7cd4a..6b2c72fc61f2 100644
> > --- a/drivers/staging/mt7621-mmc/sd.c
> > +++ b/drivers/staging/mt7621-mmc/sd.c
> > @@ -466,7 +466,8 @@ static void msdc_set_mclk(struct msdc_host *host, int ddr, unsigned int hz)
> > //u8 clksrc = hw->clk_src;
> >
> > if (!hz) { // set mmc system clock to 0 ?
> > - //ERR_MSG("set mclk to 0!!!");
> > + //dev_err(mmc_dev(host->mmc), "%d -> set mclk to 0!!!\n",
> > + // host->id);
>
> Just delete commented out code.
>
> > msdc_reset_hw(host);
> > return;
> > }
>
> regards,
> dan carpenter
>
Ok, I'll do that.
Thanks for the review.
regards,
nishad
Powered by blists - more mailing lists