Skip to content

Commit f54a97c

Browse files
benediktibkmmahadevan108
authored andcommitted
drivers: fpga: configure CDONE for ICE40 as input
Configure the GPIO CDONE of the ICE40 as GPIO_INPUT. Fixes #78934. Signed-off-by: Benedikt Schmidt <[email protected]>
1 parent 8742d9f commit f54a97c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/fpga/fpga_ice40.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ static int fpga_ice40_init(const struct device *dev)
519519
return ret;
520520
}
521521

522-
ret = gpio_pin_configure_dt(&config->cdone, 0);
522+
ret = gpio_pin_configure_dt(&config->cdone, GPIO_INPUT);
523523
if (ret < 0) {
524524
LOG_ERR("Failed to initialize CDONE: %d", ret);
525525
return ret;

0 commit comments

Comments
 (0)