[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <911dc259-7b30-9c6e-2c82-2f4c032b9d73@axentia.se>
Date: Mon, 23 Jul 2018 08:12:17 +0200
From: Peter Rosin <peda@...ntia.se>
To: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>,
wsa@...-dreams.de, robh+dt@...nel.org, afaerber@...e.de
Cc: linus.walleij@...aro.org, linux-i2c@...r.kernel.org,
liuwei@...ions-semi.com, mp-cs@...ions-semi.com,
96boards@...obotics.com, devicetree@...r.kernel.org,
andy.shevchenko@...il.com, daniel.thompson@...aro.org,
amit.kucheria@...aro.org, linux-arm-kernel@...ts.infradead.org,
linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
hzhang@...obotics.com, bdong@...obotics.com,
manivannanece23@...il.com, thomas.liau@...ions-semi.com,
jeff.chen@...ions-semi.com
Subject: Re: [PATCH v6 5/6] i2c: Add Actions Semiconductor Owl family S900 I2C
driver
On 2018-07-23 05:40, Manivannan Sadhasivam wrote:
> + /* Handle the remaining bytes which were not sent */
> + while (!(readl(i2c_dev->base + OWL_I2C_REG_FIFOSTAT) &
> + OWL_I2C_FIFOSTAT_TFF) && i2c_dev->msg_ptr < msg->len) {
You moved the OWL_ line to the left instead of right, so this is still
misaligned and thus not helping the reader.
Cheers,
Peter
> + writel(msg->buf[i2c_dev->msg_ptr++],
> + i2c_dev->base + OWL_I2C_REG_TXDAT);
> + }
Powered by blists - more mailing lists