diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2014-11-07 05:11:42 -0500 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-11-12 11:09:06 -0500 |
commit | 7ca0186468e1d167d3b343b1f8dc79cbd468001f (patch) | |
tree | ab0bc8776a3adb2546eb2cd95bf47fd78f1d204e /drivers/i2c | |
parent | 2d09581b4cc95c82b5fcc654e78b2d6de7350527 (diff) |
i2c: sh_mobile: improve success message
No user needs magic hex values, makes this debug output. Add DMA info.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-sh_mobile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/i2c/busses/i2c-sh_mobile.c b/drivers/i2c/busses/i2c-sh_mobile.c index d9a5622b89c8..92c7f7b56bdf 100644 --- a/drivers/i2c/busses/i2c-sh_mobile.c +++ b/drivers/i2c/busses/i2c-sh_mobile.c | |||
@@ -289,6 +289,7 @@ static int sh_mobile_i2c_init(struct sh_mobile_i2c_data *pd) | |||
289 | else | 289 | else |
290 | pd->icic &= ~ICIC_ICCHB8; | 290 | pd->icic &= ~ICIC_ICCHB8; |
291 | 291 | ||
292 | dev_dbg(pd->dev, "timing values: L/H=0x%x/0x%x\n", pd->iccl, pd->icch); | ||
292 | return 0; | 293 | return 0; |
293 | } | 294 | } |
294 | 295 | ||
@@ -935,9 +936,8 @@ static int sh_mobile_i2c_probe(struct platform_device *dev) | |||
935 | return ret; | 936 | return ret; |
936 | } | 937 | } |
937 | 938 | ||
938 | dev_info(&dev->dev, | 939 | dev_info(&dev->dev, "I2C adapter %d, bus speed %lu Hz, DMA=%c\n", |
939 | "I2C adapter %d with bus speed %lu Hz (L/H=0x%x/0x%x)\n", | 940 | adap->nr, pd->bus_speed, (pd->dma_rx || pd->dma_tx) ? 'y' : 'n'); |
940 | adap->nr, pd->bus_speed, pd->iccl, pd->icch); | ||
941 | 941 | ||
942 | return 0; | 942 | return 0; |
943 | } | 943 | } |