Messages in this thread | | | Date | Mon, 20 Jan 2020 18:09:45 +0000 | From | Mark Brown <> | Subject | Re: [PATCH v2 2/2] regmap: stop splitting writes to non incrementing registers |
| |
On Sat, Jan 18, 2020 at 08:56:25PM +0000, Ben Whitten wrote: > When writing to non incrementing registers we should not split > the writes in any way, writing in one transaction.
That's not an obviously true statement. If the user is intentionally writing to a non-incrementing register and intends to stuff a block of data into that one register via regmap_noinc_write() then sure but if we've come in through a path that isn't specifically for the device or is using one of the generic APIs then it's going to expect that the framework will hide the unfortunate choices of the chip implementors and split the I/O up. [unhandled content-type:application/pgp-signature] | |