Re: [PATCH v5 1/8] i2c: iproc: Extend I2C read up to 255 bytes

2019-04-01 Thread Ray Jui
On 3/27/2019 3:17 PM, Wolfram Sang wrote: > >> +if (!((readl(iproc_i2c->base + >> +M_FIFO_CTRL_OFFSET) >> >> +M_FIFO_RX_CNT_SHIFT) & >> +M_FIFO_RX_CNT_MASK)) > > Don't be too strict with the 80 char limit. I think the above is hardly > readable..

Re: [PATCH v5 1/8] i2c: iproc: Extend I2C read up to 255 bytes

2019-03-27 Thread Wolfram Sang
> + if (!((readl(iproc_i2c->base + > + M_FIFO_CTRL_OFFSET) >> > + M_FIFO_RX_CNT_SHIFT) & > + M_FIFO_RX_CNT_MASK)) Don't be too strict with the 80 char limit. I think the above is hardly readable... > + break; > + > +

[PATCH v5 1/8] i2c: iproc: Extend I2C read up to 255 bytes

2019-02-14 Thread Ray Jui
From: Shreesha Rajashekar Add support to allow I2C master read transfer up to 255 bytes. Signed-off-by: Shreesha Rajashekar Signed-off-by: Rayagonda Kokatanur Signed-off-by: Ray Jui --- drivers/i2c/busses/i2c-bcm-iproc.c | 98 +++--- 1 file changed, 76 insertions(+),