diff options
author | Tormod Volden <debian.tormod@gmail.com> | 2011-07-05 16:12:53 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-07-25 07:01:55 -0400 |
commit | 0aff47f29337d1c23060eb1cea7801dfee0e0e4a (patch) | |
tree | 768378765c78c61bcc514617b4326bb9323320c5 /drivers | |
parent | 6dd666333ddee39903d86f870d5c40d9f100e0cc (diff) |
drm: really make debug levels match in edid failure code
Also disable the ascii dump and remove the literal printing of the
KERN_ERR macro in the log:
[drm:drm_edid_block_valid] *ERROR* Raw EDID:
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
v2: Remove the trailing empty line as well.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/drm_edid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 09292193dafe..756af4d7ec74 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c | |||
@@ -185,8 +185,8 @@ drm_edid_block_valid(u8 *raw_edid) | |||
185 | bad: | 185 | bad: |
186 | if (raw_edid) { | 186 | if (raw_edid) { |
187 | printk(KERN_ERR "Raw EDID:\n"); | 187 | printk(KERN_ERR "Raw EDID:\n"); |
188 | print_hex_dump_bytes(KERN_ERR, DUMP_PREFIX_NONE, raw_edid, EDID_LENGTH); | 188 | print_hex_dump(KERN_ERR, " \t", DUMP_PREFIX_NONE, 16, 1, |
189 | printk(KERN_ERR "\n"); | 189 | raw_edid, EDID_LENGTH, false); |
190 | } | 190 | } |
191 | return 0; | 191 | return 0; |
192 | } | 192 | } |