[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220128213234.GA1638668@euler>
Date: Fri, 28 Jan 2022 13:32:34 -0800
From: Colin Foster <colin.foster@...advantage.com>
To: Andy Shevchenko <andy.shevchenko@...il.com>
Cc: Horatiu Vultur <horatiu.vultur@...rochip.com>,
linux-arm Mailing List <linux-arm-kernel@...ts.infradead.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Lars Povlsen <lars.povlsen@...rochip.com>,
Steen.Hegelund@...rochip.com,
Microchip Linux Driver Support <UNGLinuxDriver@...rochip.com>,
Linus Walleij <linus.walleij@...aro.org>
Subject: Re: [PATCH] pinctrl: microchip-sgpio: Fix support for regmap
On Fri, Jan 28, 2022 at 04:19:12PM +0200, Andy Shevchenko wrote:
> On Wed, Jan 26, 2022 at 3:19 AM Colin Foster
> <colin.foster@...advantage.com> wrote:
> > On Tue, Jan 25, 2022 at 05:12:45PM +0100, Horatiu Vultur wrote:
>
> > The only difference is I
> > had copied reg_stride into sgpio_priv instead of making regmap_config
> > file-scope.
>
> I'm wondering if we may access config via a pointer to regmap.
Ooh... regmap_get_reg_stride() exists. I didn't see that before. That
seems like it is the answer.
I don't know the etiquette here. Ask Horatiu to re-submit, or me send
along a v2, or something else.
>
> --
> With Best Regards,
> Andy Shevchenko
Powered by blists - more mailing lists