Commit d4864d60 authored by Alex Deucher's avatar Alex Deucher Committed by Dave Airlie

drm/radeon/kms: make radeon i2c put/get bytes less noisy

Switch some errors to debug output.  These are generally harmless
and tend to confuse users.
Signed-off-by: default avatarAlex Deucher <alexdeucher@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 9bb09fa1
...@@ -1062,7 +1062,7 @@ void radeon_i2c_get_byte(struct radeon_i2c_chan *i2c_bus, ...@@ -1062,7 +1062,7 @@ void radeon_i2c_get_byte(struct radeon_i2c_chan *i2c_bus,
*val = in_buf[0]; *val = in_buf[0];
DRM_DEBUG("val = 0x%02x\n", *val); DRM_DEBUG("val = 0x%02x\n", *val);
} else { } else {
DRM_ERROR("i2c 0x%02x 0x%02x read failed\n", DRM_DEBUG("i2c 0x%02x 0x%02x read failed\n",
addr, *val); addr, *val);
} }
} }
...@@ -1084,7 +1084,7 @@ void radeon_i2c_put_byte(struct radeon_i2c_chan *i2c_bus, ...@@ -1084,7 +1084,7 @@ void radeon_i2c_put_byte(struct radeon_i2c_chan *i2c_bus,
out_buf[1] = val; out_buf[1] = val;
if (i2c_transfer(&i2c_bus->adapter, &msg, 1) != 1) if (i2c_transfer(&i2c_bus->adapter, &msg, 1) != 1)
DRM_ERROR("i2c 0x%02x 0x%02x write failed\n", DRM_DEBUG("i2c 0x%02x 0x%02x write failed\n",
addr, val); addr, val);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment