Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1333067

Re: [PATCH 3/3] i2c: iproc: Support larger TX transfer

From Ray Jui <ray.jui@broadcom.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3] i2c: iproc: Support larger TX transfer
Date 2016-02-12 20:40 +0100
Message-ID <r1rJp-2RI-53@gated-at.bofh.it> (permalink)
References <qVIDf-3rL-5@gated-at.bofh.it> <qVIDf-3rL-3@gated-at.bofh.it> <r1rJn-2RI-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 2/12/2016 11:33 AM, Wolfram Sang wrote:
>> @@ -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.
>

Okay will do. Thanks!

Ray

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH 3/3] i2c: iproc: Support larger TX transfer Wolfram Sang <wsa@the-dreams.de> - 2016-02-12 20:40 +0100
  Re: [PATCH 3/3] i2c: iproc: Support larger TX transfer Ray Jui <ray.jui@broadcom.com> - 2016-02-12 20:40 +0100

csiph-web