diff options
author | Harm Berntsen <harm.berntsen@nedap.com> | 2020-11-29 09:47:15 +0000 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2021-02-21 06:04:49 +0100 |
commit | 6befb51f349459c96ed64412070feda7472cf152 (patch) | |
tree | 3e5ed57f10ec7a7c0786bce9d2648df54efb389c /drivers/i2c/ocores_i2c.c | |
parent | ea966d24ef3a9f7f32712a518a07374f9ae43905 (diff) |
i2c: i2c-gpio: Fix GPIO output
The dm_gpio_set_dir_flags function cannot be used to update the
configuration of a GPIO pin because it does a bitwise OR with the
existing flags. Looks like commit 788ea834124b ("gpio: add function
_dm_gpio_set_dir_flags") has introduced this behaviour and the i2c-gpio
driver has been broken since.
Signed-off-by: Harm Berntsen <harm.berntsen@nedap.com>
CC: Heiko Schocher <hs@denx.de>
CC: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'drivers/i2c/ocores_i2c.c')
0 files changed, 0 insertions, 0 deletions