lkml.org 
[lkml]   [2016]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/3] i2c: iproc: Support larger TX transfer
> @@ -293,7 +360,7 @@ static const struct i2c_algorithm bcm_iproc_algo = {
> static struct i2c_adapter_quirks bcm_iproc_i2c_quirks = {
> /* need to reserve one byte in the FIFO for the slave address */
> .max_read_len = M_TX_RX_FIFO_SIZE - 1,
> - .max_write_len = M_TX_RX_FIFO_SIZE - 1,
> + .max_write_len = 65535,

You can simply remove this line because len is u16 in the i2c core anyhow.

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2016-02-12 21:01    [W:0.689 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site