summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-imx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/busses/i2c-imx.c')
-rw-r--r--drivers/i2c/busses/i2c-imx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c
index 60d2f40420aa..a2e6d2aa16b3 100644
--- a/drivers/i2c/busses/i2c-imx.c
+++ b/drivers/i2c/busses/i2c-imx.c
@@ -620,9 +620,9 @@ static int __init i2c_imx_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, i2c_imx);
#ifdef CONFIG_ARCH_MVF
- // make sure not in use by MQX
+ // for makeing sure not in use by MQX concurrently
if(mvf_sema4_assign(MVF_I2C_SEMAPHORE_NUMBER, true, &sema4)) {
- dev_err(&pdev->dev, "could not grab MQX semaphore\n");
+ dev_err(&pdev->dev, "could not assign MQX semaphore %d\n", MVF_I2C_SEMAPHORE_NUMBER);
goto fail5;
}
#endif