diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2009-03-10 18:15:55 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2009-03-10 18:15:55 +1000 |
commit | 16122cb1d9e4ec8eb21de69b3b66a83b8777a6f0 (patch) | |
tree | 339832f7305f31a67e3f383f4dd42c963e24040f | |
parent | cbbbc9a1fce02237bbfe326a2b9ad255e39afd6f (diff) |
drm/nv50: silence ddc timeout messages unless debugging enabled
-rw-r--r-- | linux-core/nv50_i2c.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linux-core/nv50_i2c.c b/linux-core/nv50_i2c.c index e3a64309..aa37e245 100644 --- a/linux-core/nv50_i2c.c +++ b/linux-core/nv50_i2c.c @@ -110,7 +110,7 @@ static bool nv50_i2c_raise_clock(struct nv50_i2c_channel *chan, int data) udelay(2); } - printk("a timeout occured in nv50_i2c_raise_clock\n"); + DRM_DEBUG("a timeout occured in nv50_i2c_raise_clock\n"); return false; } @@ -197,7 +197,7 @@ static bool nv50_i2c_write_byte(struct nv50_i2c_channel *chan, uint8_t byte) } if (i <= 0) { - printk("a timeout occured in nv50_i2c_write_byte\n"); + DRM_DEBUG("a timeout occured in nv50_i2c_write_byte\n"); rval = false; } } @@ -280,7 +280,7 @@ static bool nv50_i2c_read(struct nv50_i2c_channel *chan, uint8_t address, uint8_ } if (!rval) - printk("nv50_i2c_read failed\n"); + DRM_DEBUG("nv50_i2c_read failed\n"); return rval; } @@ -311,7 +311,7 @@ static bool nv50_i2c_write(struct nv50_i2c_channel *chan, uint8_t address, uint8 } if (!rval) - printk("nv50_i2c_write failed\n"); + DRM_DEBUG("nv50_i2c_write failed\n"); return rval; } |