On Tue, May 23, 2023 at 04:47:47PM +0100, Srinivas Kandagatla wrote:Is there a way to check if bus support multi-register writes?
+ /* 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.