|
@@ -347,6 +347,7 @@ static int mtk_pconf_parse_conf(struct pinctrl_dev *pctldev,
|
|
|
ret = mtk_pconf_set_pull_select(pctl, pin, true, false, arg);
|
|
|
break;
|
|
|
case PIN_CONFIG_INPUT_ENABLE:
|
|
|
+ mtk_pmx_gpio_set_direction(pctldev, NULL, pin, true);
|
|
|
ret = mtk_pconf_set_ies_smt(pctl, pin, arg, param);
|
|
|
break;
|
|
|
case PIN_CONFIG_OUTPUT:
|
|
@@ -354,6 +355,7 @@ static int mtk_pconf_parse_conf(struct pinctrl_dev *pctldev,
|
|
|
ret = mtk_pmx_gpio_set_direction(pctldev, NULL, pin, false);
|
|
|
break;
|
|
|
case PIN_CONFIG_INPUT_SCHMITT_ENABLE:
|
|
|
+ mtk_pmx_gpio_set_direction(pctldev, NULL, pin, true);
|
|
|
ret = mtk_pconf_set_ies_smt(pctl, pin, arg, param);
|
|
|
break;
|
|
|
case PIN_CONFIG_DRIVE_STRENGTH:
|