Re: [PATCH] regmap: sdw: check for invalid multi-register writes config

From: Mark Brown
Date: Tue May 23 2023 - 12:58:13 EST


On Tue, May 23, 2023 at 04:47:47PM +0100, Srinivas Kandagatla wrote:

> + /* Only bulk writes are supported not multi-register writes */
> + if (config->can_multi_write)
> + return -ENOTSUPP;
> +

This doesn't seem like the right fix - I'd expect us to simply choose
not to use multiple writes, with an additional flag/check for bus
support.

Attachment: signature.asc
Description: PGP signature