[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YrNH8/eaYHYeAWNJ@sirena.org.uk>
Date: Wed, 22 Jun 2022 17:48:51 +0100
From: Mark Brown <broonie@...nel.org>
To: Dong Aisheng <dongas86@...il.com>
Cc: Aisheng Dong <aisheng.dong@....com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"l.stach@...gutronix.de" <l.stach@...gutronix.de>,
Peng Fan <peng.fan@....com>,
"shawnguo@...nel.org" <shawnguo@...nel.org>
Subject: Re: [PATCH RFC 1/2] regmap: add option to disable debugfs
On Thu, Jun 23, 2022 at 12:42:51AM +0800, Dong Aisheng wrote:
> On Thu, Jun 23, 2022 at 12:27 AM Mark Brown <broonie@...nel.org> wrote:
> > cache_bypass is only going to be true if something enabled bypass, why
> > would a device that doesn't use a cache enable bypass? It does get
> > turned on transiently by things like patching but those only make sense
> > if the device can be accessed so caceh_only shouldn't be on then.
> It was enabled by default according to the code:
> __regmap_init -> regcache_init
Ah, right. That makes sense - we should relax the check to only apply
if there is actually a cache.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists