summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-07-02 18:15:44 -0600
committerMinkyu Kang <mk7.kang@samsung.com>2015-07-10 21:13:48 +0900
commit8fd3ec770c41115b95ca80f0f0ba344ac59dc293 (patch)
tree6b40b66e7d6bd09f9e5f99e5ad042d4d302d1468 /drivers/i2c
parent6c7cbd32d36a5ce22b2257b2f72baab80cd4483f (diff)
downloadtalos-obmc-uboot-8fd3ec770c41115b95ca80f0f0ba344ac59dc293.tar.gz
talos-obmc-uboot-8fd3ec770c41115b95ca80f0f0ba344ac59dc293.zip
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: 8dfcbaa dm: i2c: s3c24x0: adjust to dm-i2c api Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Heiko Schocher <hs@denx.de> Reviewed-by: Przemyslaw Marczak <p.marczak@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/s3c24x0_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/s3c24x0_i2c.c b/drivers/i2c/s3c24x0_i2c.c
index c053e84cdb..9a04e48a0f 100644
--- a/drivers/i2c/s3c24x0_i2c.c
+++ b/drivers/i2c/s3c24x0_i2c.c
@@ -1035,7 +1035,7 @@ static void process_nodes(const void *blob, int node_list[], int count,
CONFIG_SYS_I2C_S3C24X0_SPEED);
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;
OpenPOWER on IntegriCloud