Commit 8fd3ec77 authored by Simon Glass's avatar Simon Glass Committed by Minkyu Kang

exynos: i2c: Correct bug in pinmux selection

When driver model is not used the current code does not correctly select
the pinmux for the I2C bus. This bug was introduced by this commit:

8dfcbaa6 dm: i2c: s3c24x0: adjust to dm-i2c api
Signed-off-by: default avatarSimon Glass <>
Acked-by: default avatarHeiko Schocher <>
Reviewed-by: default avatarPrzemyslaw Marczak <>
Signed-off-by: default avatarMinkyu Kang <>
parent 6c7cbd32
......@@ -1035,7 +1035,7 @@ static void process_nodes(const void *blob, int node_list[], int count,
bus->node = node;
bus->bus_num = i;
exynos_pinmux_config(PERIPH_ID_I2C0 + bus->id, flags);
exynos_pinmux_config(bus->id, flags);
/* Mark position as used */
node_list[i] = -1;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment