[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <82574e4c-45b1-e312-4714-63712d7a4317@broadcom.com>
Date: Fri, 12 Feb 2016 11:33:53 -0800
From: Ray Jui <ray.jui@...adcom.com>
To: Wolfram Sang <wsa@...-dreams.de>, Ray Jui <rjui@...adcom.com>
Cc: linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org,
bcm-kernel-feedback-list@...adcom.com,
Icarus Chau <ichau@...adcom.com>
Subject: Re: [PATCH 3/3] i2c: iproc: Support larger TX transfer
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
Powered by blists - more mailing lists