Commit eba523b4 authored by Clemens Gruber's avatar Clemens Gruber Committed by Wolfram Sang

i2c: imx: fix misleading bus recovery debug message

The arguments for SDA and SCL were swapped. Fix it.
Signed-off-by: default avatarClemens Gruber <clemens.gruber@pqgruber.com>
Acked-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent df0a2fda
...@@ -1021,7 +1021,7 @@ static int i2c_imx_init_recovery_info(struct imx_i2c_struct *i2c_imx, ...@@ -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", 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->prepare_recovery = i2c_imx_prepare_recovery;
rinfo->unprepare_recovery = i2c_imx_unprepare_recovery; rinfo->unprepare_recovery = i2c_imx_unprepare_recovery;
......
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