Re: [PATCH] HID: mcp2221: set gpio pin mode

From: Jiri Kosina
Date: Fri Jun 20 2025 - 02:48:44 EST


On Sun, 8 Jun 2025, Heiko Schocher wrote:

> in case we have GPIOLIB enabled the gpio pins are used
> from the current driver as gpio pins. But may the gpio
> functions of this pins are not enabled in the flash
> of the chip and so gpio access fails.
>
> In case CONFIG_IIO is not enabled we can prevent this
> issue of the driver simply by enabling the gpio mode
> for all pins.
>
> Signed-off-by: Heiko Schocher <hs@xxxxxxx>

Now applied to hid.git#for-6.17/mcp2221. Thanks,

--
Jiri Kosina
SUSE Labs