mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-03 12:57:42 +01:00
Revert "ar71xx: fix Arduino Yun enabling of level shifters outputs"
This reverts commit077253dd66. The output enable pins should be disabled by default, and only enabled when used. Otherwise unwanted conflicts might occur between MCU and SoC pins. Signed-off-by: Sungbo Eo <mans0n@gorani.run> (cherry picked from commit43896dc0b0)
This commit is contained in:
parent
2f756b39ed
commit
f3c0eab9c7
1 changed files with 2 additions and 2 deletions
|
|
@ -141,7 +141,7 @@ static void __init ds_setup(void)
|
|||
|
||||
// enable OE of level shifter
|
||||
if (gpio_request_one(DS_GPIO_OE,
|
||||
GPIOF_OUT_INIT_HIGH | GPIOF_EXPORT_DIR_FIXED, "OE-1") != 0)
|
||||
GPIOF_OUT_INIT_LOW | GPIOF_EXPORT_DIR_FIXED, "OE-1") != 0)
|
||||
printk("Error setting GPIO OE\n");
|
||||
|
||||
if (gpio_request_one(DS_GPIO_UART_ENA,
|
||||
|
|
@ -150,7 +150,7 @@ static void __init ds_setup(void)
|
|||
|
||||
// enable OE of level shifter
|
||||
if (gpio_request_one(DS_GPIO_OE2,
|
||||
GPIOF_OUT_INIT_HIGH | GPIOF_EXPORT_DIR_FIXED, "OE-2") != 0)
|
||||
GPIOF_OUT_INIT_LOW | GPIOF_EXPORT_DIR_FIXED, "OE-2") != 0)
|
||||
printk("Error setting GPIO OE2\n");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue