[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87cz1zehzv.wl-tiwai@suse.de>
Date: Tue, 13 Jun 2023 13:09:24 +0200
From: Takashi Iwai <tiwai@...e.de>
To: Mark Brown <broonie@...nel.org>
Cc: linux-kernel@...r.kernel.org, alsa-devel@...a-project.org
Subject: Re: [PATCH] regmap: maple: Don't sync read-only registers
On Tue, 13 Jun 2023 12:59:27 +0200,
Mark Brown wrote:
>
> On Tue, Jun 13, 2023 at 12:34:45PM +0200, Takashi Iwai wrote:
> > Mark Brown wrote:
> > > On Tue, Jun 13, 2023 at 09:45:11AM +0200, Takashi Iwai wrote:
>
> > > This should be in _needs_sync().
>
> > I thought it's a different logic? regacahe_reg_needs_sync() checks
> > only whether it's a default value, and other call paths already check
> > regmap_writeable().
>
> Yeah, but it feels like that's the reason we ran into this issue given
> that you'd expect _needs_sync() to check this too.
>
> > But I can put the check there instead if you still prefer, too.
>
> It should avoid any similar issues in future.
OK, then let me cook the v2.
Takashi
Powered by blists - more mailing lists