Commit 0d6b550d authored by Heiko Schocher's avatar Heiko Schocher Committed by Jiri Kosina
Browse files

HID: mcp2221: set gpio pin mode



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: default avatarHeiko Schocher <hs@denx.de>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.com>
parent 2043ae90
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment