[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4af265c1-559a-4460-9614-04d9b18f5778@sirena.org.uk>
Date: Thu, 23 May 2024 17:58:47 +0100
From: Mark Brown <broonie@...nel.org>
To: Jim Wylder <jwylder@...gle.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Rafael J. Wysocki" <rafael@...nel.org>, kernel-team@...roid.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] regmap-i2c: Subtract reg size from max_write
On Tue, Apr 30, 2024 at 03:15:33PM -0500, Jim Wylder wrote:
> - max_write = quirks->max_write_len;
> + max_write = quirks->max_write_len - config->reg_bits / BITS_PER_BYTE;
This also needs to take account of any pad bits.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists