[PATCH 5/8] reset: mpfs: Use regmap_test_bits in mpfs_status

Geert Uytterhoeven geert at linux-m68k.org
Wed Nov 4 00:30:22 PST 2026


On Tue, 3 Nov 2026 at 15:53, Philipp Zabel <p.zabel at pengutronix.de> wrote:
> Simplify mpfs_status() by using regmap_test_bits().
> Now returns 1 if asserted for all bits.

and propagates errors.

>
> Signed-off-by: Philipp Zabel <p.zabel at pengutronix.de>

Reviewed-by: Geert Uytterhoeven <geert+renesas at glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds



More information about the linux-riscv mailing list