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..
> + 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;
> +
> +
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(+),
3 matches
Mail list logo