From: Clemens Gruber Date: Mon, 9 Oct 2017 19:26:14 +0000 (+0200) Subject: i2c: imx: fix misleading bus recovery debug message X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=eba523b468a1e30384b6e8c1a9419163f325086e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git i2c: imx: fix misleading bus recovery debug message The arguments for SDA and SCL were swapped. Fix it. Signed-off-by: Clemens Gruber Acked-by: Uwe Kleine-König Signed-off-by: Wolfram Sang --- diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c index e5c8b3d5df77..f96830ffd9f1 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;