Re: [PATCH v2 4/9] gpio: regmap: add the .fixed_direction_output configuration parameter

From: Michael Walle

Date: Mon Sep 15 2025 - 10:01:55 EST


Hi Ioana,

> So you are suggesting gpio-regmap to allocate the bitmap using
> devm_bitmap_alloc() and base its size on config->ngpio, then copy into
> it the bitmap passed by the caller, right? Yes, that does seem more
> error proof in terms of memory handling. Will change it in the next
> version.

Yes exactly.

-michael

Attachment: signature.asc
Description: PGP signature