[lkml]   [2022]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 3/3] i2c: qcom-geni: Silence NACK and GENI_TIMEOUT
On Sat, Jul 16, 2022 at 08:50:27PM -0700, Bjorn Andersson wrote:
> Turn NACK and GENI_TIMEOUT into debug prints to silence the kernel log
> when running things such as i2cdetect to scan the bus.
> Signed-off-by: Bjorn Andersson <>

As mentioned, I squashed it with the previous patch.

> + case NACK:
> + case GENI_TIMEOUT:
> + dev_dbg(gi2c->, "%s\n", gi2c_log[err].msg);
> + break;

Additional note: the dbg messages in this function are superfluous. We
already have all this information with the tracepoints in i2c_transfer.

[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2022-07-24 07:23    [W:0.085 / U:2.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site