On Fri, Jul 8, 2022 at 4:35 PM Sa, Nuno <Nuno.Sa@xxxxxxxxxx> wrote: > > From: Andy Shevchenko <andy.shevchenko@xxxxxxxxx> > > Sent: Friday, July 8, 2022 4:25 PM > > On Fri, Jul 8, 2022 at 11:36 AM Nuno Sá <nuno.sa@xxxxxxxxxx> wrote: ... > > Looks like a good candidate for bitmap_get_value8(pull_mask). > > I'm not touching the original way the driver was handling this > kind of stuff. I do have in my mind to just convert this driver to use > regmap and with it (by using the *bits functions) we can get rid of > most of the "plain" bitmaps in the driver. Works for me! -- With Best Regards, Andy Shevchenko