i2c: imx: fix misleading bus recovery debug message

The arguments for SDA and SCL were swapped. Fix it.

Signed-off-by: Clemens Gruber <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
This commit is contained in:
Clemens Gruber 2017-10-09 21:26:14 +02:00 • committed by Wolfram Sang
commit eba523b468

View file

@ -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;