[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <61958011.1c69fb81.31272.2dd5@mx.google.com>
Date: Wed, 17 Nov 2021 23:19:39 +0100
From: Ansuel Smith <ansuelsmth@...il.com>
To: Mark Brown <broonie@...nel.org>
Cc: Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Vladimir Oltean <olteanv@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Russell King <linux@...linux.org.uk>,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: regmap: allow to define reg_update_bits for no bus configuration
On Wed, Nov 17, 2021 at 10:15:53PM +0000, Mark Brown wrote:
> On Wed, Nov 17, 2021 at 10:04:33PM +0100, Ansuel Smith wrote:
> > Some device requires a special handling for reg_update_bits and can't use
> > the normal regmap read write logic. An example is when locking is
> > handled by the device and rmw operations requires to do atomic operations.
> > Allow to declare a dedicated function in regmap_config for
> > reg_update_bits in no bus configuration.
> >
> > Signed-off-by: Ansuel Smith <ansuelsmth@...il.com>
> > Link: https://lore.kernel.org/r/20211104150040.1260-1-ansuelsmth@gmail.com
> > Signed-off-by: Mark Brown <broonie@...nel.org>
> > ---
> > drivers/base/regmap/regmap.c | 1 +
> > include/linux/regmap.h | 7 +++++++
> > 2 files changed, 8 insertions(+)
>
> I've applied this already? If it's needed by something in another tree
> let me know and I'll make a signed tag for it.
Yes, I posted this in this series as net-next still doesn't have this
commit. Don't really know how to hanle this kind of corner
case. Do you have some hint about that and how to proceed?
--
Ansuel
Powered by blists - more mailing lists