* [PATCH] i2c: imx: fix misleading bus recovery debug message
@ 2017-10-09 19:26 Clemens Gruber
2017-10-10 6:29 ` Uwe Kleine-König
2017-10-13 18:39 ` Wolfram Sang
0 siblings, 2 replies; 3+ messages in thread
From: Clemens Gruber @ 2017-10-09 19:26 UTC (permalink / raw)
To: linux-i2c; +Cc: Wolfram Sang, linux-kernel, Clemens Gruber
The arguments for SDA and SCL were swapped. Fix it.
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
---
drivers/i2c/busses/i2c-imx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c
index 54a47b40546f..71a90ed4d01d 100644
--- 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->sda_gpio, rinfo->scl_gpio);
+ rinfo->scl_gpio, rinfo->sda_gpio);
rinfo->prepare_recovery = i2c_imx_prepare_recovery;
rinfo->unprepare_recovery = i2c_imx_unprepare_recovery;
--
2.14.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] i2c: imx: fix misleading bus recovery debug message
2017-10-09 19:26 [PATCH] i2c: imx: fix misleading bus recovery debug message Clemens Gruber
@ 2017-10-10 6:29 ` Uwe Kleine-König
2017-10-13 18:39 ` Wolfram Sang
1 sibling, 0 replies; 3+ messages in thread
From: Uwe Kleine-König @ 2017-10-10 6:29 UTC (permalink / raw)
To: Clemens Gruber; +Cc: linux-i2c, Wolfram Sang, linux-kernel
On Mon, Oct 09, 2017 at 09:26:14PM +0200, Clemens Gruber wrote:
> 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>
Thanks
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] i2c: imx: fix misleading bus recovery debug message
2017-10-09 19:26 [PATCH] i2c: imx: fix misleading bus recovery debug message Clemens Gruber
2017-10-10 6:29 ` Uwe Kleine-König
@ 2017-10-13 18:39 ` Wolfram Sang
1 sibling, 0 replies; 3+ messages in thread
From: Wolfram Sang @ 2017-10-13 18:39 UTC (permalink / raw)
To: Clemens Gruber; +Cc: linux-i2c, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 224 bytes --]
On Mon, Oct 09, 2017 at 09:26:14PM +0200, Clemens Gruber wrote:
> The arguments for SDA and SCL were swapped. Fix it.
>
> Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
Applied to for-current, thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-10-13 18:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-09 19:26 [PATCH] i2c: imx: fix misleading bus recovery debug message Clemens Gruber
2017-10-10 6:29 ` Uwe Kleine-König
2017-10-13 18:39 ` Wolfram Sang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.