From 8b7706a34185dfd44d582ba1634faf14c48fdf89 Mon Sep 17 00:00:00 2001 From: cpchiang Date: Thu, 7 Sep 2023 17:51:47 -0700 Subject: [PATCH] drivers: jtag: npcm4xx: remove set tdo initial value remove set tdo initial value. tdo set as gpio input, no need set initial value to avoid system assert. Signed-off-by: cpchiang --- drivers/jtag/jtag_npcm4xx.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/jtag/jtag_npcm4xx.c b/drivers/jtag/jtag_npcm4xx.c index d8dad63188300c..cad12b7259e176 100644 --- a/drivers/jtag/jtag_npcm4xx.c +++ b/drivers/jtag/jtag_npcm4xx.c @@ -558,11 +558,6 @@ static int jtag_npcm4xx_init(const struct device *dev) /* setup tdo */ flags = GPIO_INPUT; - if (config->gpio_tdo.flags & GPIO_ACTIVE_LOW) - flags |= GPIO_OUTPUT_INIT_HIGH; - else - flags |= GPIO_OUTPUT_INIT_LOW; - gpio_pin_configure(tdo_dev, tdo_pin, flags); /* setup tms */