drm: make debug levels match in edid failure code.
authorDave Airlie <airlied@linux.ie>
Tue, 14 Jun 2011 06:13:54 +0000 (06:13 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 16 Jun 2011 06:29:37 +0000 (16:29 +1000)
this puts the header and followup at the same loglevel as the
hex dump code.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
drivers/gpu/drm/drm_edid.c

index 0a9357c66ff8703b76123487c8ef8d05b373c136..3618d29c79a24d2404688a11b5964aac06ecd451 100644 (file)
@@ -184,9 +184,9 @@ drm_edid_block_valid(u8 *raw_edid)
 
 bad:
        if (raw_edid) {
-               DRM_ERROR("Raw EDID:\n");
+               printk(KERN_ERR "Raw EDID:\n");
                print_hex_dump_bytes(KERN_ERR, DUMP_PREFIX_NONE, raw_edid, EDID_LENGTH);
-               printk("\n");
+               printk(KERN_ERR "\n");
        }
        return 0;
 }