linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ray Jui <ray.jui@broadcom.com>
To: Wolfram Sang <wsa@the-dreams.de>, Ray Jui <rjui@broadcom.com>
Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org,
	bcm-kernel-feedback-list@broadcom.com,
	Icarus Chau <ichau@broadcom.com>
Subject: Re: [PATCH 3/3] i2c: iproc: Support larger TX transfer
Date: Fri, 12 Feb 2016 11:33:53 -0800	[thread overview]
Message-ID: <82574e4c-45b1-e312-4714-63712d7a4317@broadcom.com> (raw)
In-Reply-To: <20160212193308.GS1520@katana>



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

      reply	other threads:[~2016-02-12 19:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-28  0:27 [PATCH 0/3] iProc I2C driver enhancement Ray Jui
2016-01-28  0:27 ` [PATCH 1/3] i2c: iproc: Add recovery mechanism in error case Ray Jui
2016-02-12 19:31   ` Wolfram Sang
2016-02-12 19:32     ` Ray Jui
2016-01-28  0:27 ` [PATCH 2/3] i2c: iproc: Fix typo in the driver Ray Jui
2016-01-28  0:27 ` [PATCH 3/3] i2c: iproc: Support larger TX transfer Ray Jui
2016-02-12 19:33   ` Wolfram Sang
2016-02-12 19:33     ` Ray Jui [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=82574e4c-45b1-e312-4714-63712d7a4317@broadcom.com \
    --to=ray.jui@broadcom.com \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=ichau@broadcom.com \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjui@broadcom.com \
    --cc=wsa@the-dreams.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).