summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorEd Nash <enash54@gmail.com>2013-07-28 09:47:05 -0400
committerroshni.shah <roshni.shah@timesys.com>2014-01-04 19:33:23 -0500
commitc0916ea641fee1f5df29ff203b595a0bc976daf4 (patch)
treedbe8c4b723e762d5745aead6a90798efa21a1549 /drivers
parent4d3dd5cc683366381bcdd4c1e601da04350010f6 (diff)
fix debugfs worng directory for gate. cleanup debug comment / code in i2c-imx
Diffstat (limited to 'drivers')
-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