i2c-msm-genic: To remove unsupported %: in format string

Currently the format string passed to vsnprintf() from
the I2C driver in the audio codec code flow is not
correct. Fix this issue by removing the extra % character
in the GENI_SE_DBG().

Change-Id: Icef5aa7499e6b3433d82324735bc784309a6610d
Signed-off-by: Mahesh Reddy Kodidi <quic_mahreddy@quicinc.com>
This commit is contained in:
Mahesh Reddy Kodidi 2022-04-25 17:03:25 +05:30 • committed by Mukesh Kumar Savaliya
commit c034bb96ec

View file

@ -1237,8 +1237,8 @@ geni_i2c_txn_ret:
}
gi2c->cur = NULL;
GENI_SE_ERR(gi2c->ipcl, true, gi2c->dev,
"i2c txn ret:%d, num:%d, err%:%d\n", ret, num, gi2c->err);
GENI_SE_DBG(gi2c->ipcl, false, gi2c->dev,
"i2c txn ret:%d, num:%d, err:%d\n", ret, num, gi2c->err);
if (gi2c->err)
return gi2c->err;