[Bugfix][T106][bug-view-682][GPIO]Setting GPIO to output high will first output low 40us
Only Configure :No
Affected branch:master
Affected module:GPIO
Is it affected on both ZXIC and MTK:only ZXIC
Self-test: Yes
Doc Update: No
Change-Id: I1bd054f45ac3e87ebbdd5e2cf76a8fae73be1e79
diff --git a/cap/zx297520v3/src/lynq/lib/liblynq-gpio/lynq-gpio.cpp b/cap/zx297520v3/src/lynq/lib/liblynq-gpio/lynq-gpio.cpp
index cf6958f..58d0ea0 100755
--- a/cap/zx297520v3/src/lynq/lib/liblynq-gpio/lynq-gpio.cpp
+++ b/cap/zx297520v3/src/lynq/lib/liblynq-gpio/lynq-gpio.cpp
@@ -111,12 +111,7 @@
LYINFLOG("input value is error\n");
return -1;
}
- ret = sc_gpio_direction_set(test_gpio_handle[gpio], 1, 0);
- if (ret)
- {
- LYINFLOG("do_gpio_input set direction failed, err:%d\n", ret);
- return -1;;
- }
+
ret = sc_gpio_value_set(test_gpio_handle[gpio], value);
if (ret)
{