Commit 0aff47f2 authored by Tormod Volden's avatar Tormod Volden Committed by Dave Airlie

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: default avatarTormod Volden <debian.tormod@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 6dd66633
...@@ -185,8 +185,8 @@ drm_edid_block_valid(u8 *raw_edid) ...@@ -185,8 +185,8 @@ drm_edid_block_valid(u8 *raw_edid)
bad: bad:
if (raw_edid) { if (raw_edid) {
printk(KERN_ERR "Raw EDID:\n"); printk(KERN_ERR "Raw EDID:\n");
print_hex_dump_bytes(KERN_ERR, DUMP_PREFIX_NONE, raw_edid, EDID_LENGTH); print_hex_dump(KERN_ERR, " \t", DUMP_PREFIX_NONE, 16, 1,
printk(KERN_ERR "\n"); raw_edid, EDID_LENGTH, false);
} }
return 0; return 0;
} }
......
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