Re: [PATCH 1/2] ASoC: codecs: wsa883x: do not set can_multi_write flag
From: Mark Brown
Date: Wed May 24 2023 - 06:15:48 EST
On Wed, May 24, 2023 at 11:09:32AM +0100, Srinivas Kandagatla wrote:
> On 24/05/2023 10:48, Mark Brown wrote:
> > > Is write callback used for both Bulk writes and multi-writes?
> > Only multi-write at this point but we probably should consider redoing
> > bulk writes to use it as well.
> By the looks of the code, its other way around.
No, that's not possible. A bulk write requires a contiguous block of
registers so can be expressed in terms of a multi-write but a write with
discontiguous registers can't be done as a bulk write.
Attachment:
signature.asc
Description: PGP signature