[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180822091342.kngqyebexaboo25g@mwanda>
Date: Wed, 22 Aug 2018 12:13:42 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Nishad Kamdar <nishadkamdar@...il.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
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 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
Powered by blists - more mailing lists