projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df0a2fd
)
i2c: imx: fix misleading bus recovery debug message
author
Clemens Gruber
<clemens.gruber@pqgruber.com>
Mon, 9 Oct 2017 19:26:14 +0000
(21:26 +0200)
committer
Wolfram Sang
<wsa@the-dreams.de>
Fri, 13 Oct 2017 19:05:55 +0000
(21:05 +0200)
The arguments for SDA and SCL were swapped. Fix it.
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-imx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/i2c/busses/i2c-imx.c
b/drivers/i2c/busses/i2c-imx.c
index e5c8b3d5df778db2a1937f933f910469b9d90a4c..f96830ffd9f1c1456965810fad723ab365a7f263 100644
(file)
--- a/
drivers/i2c/busses/i2c-imx.c
+++ b/
drivers/i2c/busses/i2c-imx.c
@@
-1021,7
+1021,7
@@
static int i2c_imx_init_recovery_info(struct imx_i2c_struct *i2c_imx,
}
dev_dbg(&pdev->dev, "using scl-gpio %d and sda-gpio %d for recovery\n",
- rinfo->s
da_gpio, rinfo->scl
_gpio);
+ rinfo->s
cl_gpio, rinfo->sda
_gpio);
rinfo->prepare_recovery = i2c_imx_prepare_recovery;
rinfo->unprepare_recovery = i2c_imx_unprepare_recovery;