diff options
author | Dong Aisheng <aisheng.dong@nxp.com> | 2017-09-06 15:46:00 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:30:30 +0800 |
commit | f2feb24f7e169e7611f7ae3a309676db76f1c689 (patch) | |
tree | 7418c69e639bd35833c2365ae8e0df0c29d94e10 /arch/arm/boot/dts/imx7ulp-evk.dts | |
parent | 816a81261d129961cdfb4266562ffe3b4cd24ac2 (diff) |
MLK-17491-9 pinctrl: imx: cleanup gpio_set_direction
First of all, the design of using CONFIG_IBE_OBE is wrong as both VF and
IMX has IBE and OBE while current code defined it in common code but for
only IMX which causes a bit confusing.
Second, remove the following invalid comments as we will clear IBE.
"IBE always enabled allows us to read the value on the wire"
Last, replace the complicated "if else" statement with a much simpler one.
Cc: Bai Ping <ping.bai@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
Fixes: 07787c40ff3b ("MLK-13485-3 pinctrl: imx: modify the imx pinctrl to support imx7ulp gpio")
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Diffstat (limited to 'arch/arm/boot/dts/imx7ulp-evk.dts')
0 files changed, 0 insertions, 0 deletions