[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1384436392.15774.2.camel@joe-AO722>
Date: Thu, 14 Nov 2013 05:39:52 -0800
From: Joe Perches <joe@...ches.com>
To: Marek Vasut <marex@...x.de>
Cc: Andreas Werner <wernerandy@....de>, wsa@...-dreams.de,
jacmet@...site.dk, baohua.song@....com, linux-i2c@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] I2C: busses: Do not print error message in syslog if no
ACK received
On Wed, 2013-11-13 at 20:24 +0100, Marek Vasut wrote:
> > On Tue, Nov 12, 2013 at 07:33:40PM +0100, Marek Vasut wrote:
> > > > > That is because if you look at the only caller of this function,
> > > > > which is pch_i2c_wait_for_check_xfer(), you will see that at the
> > > > > only place where pch_i2c_getack() is called there is already
> > > > > pch_dbg():
> > > > >
> > > > > 369 if (pch_i2c_getack(adap)) {
> > > > > 370 pch_dbg(adap, "Receive NACK for slave address"
> > > > > 371 "setting\n");
> > > > > 372 return -EIO;
> > > > > 373 }
> >
> > Sorry i misunderstood that. You are absolutly right, thats the best
> > solution for that. Remove the pch_err at getack so that only the pch_dbg
> > get printed where getack is called. This should be enough information.
>
> No problem ;-)
If this is the approach taken, please coalesce the format.
As is there's a missing space between address and setting.
This should be:
pch_dbg(adap, "Received NACK for slave address setting\n");
--
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