drm/edid: fix edid field name
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 11 Aug 2021 20:58:18 +0000 (13:58 -0700)
committerSimon Ser <contact@emersion.fr>
Thu, 12 Aug 2021 14:50:04 +0000 (16:50 +0200)
Byte 26 in a edid struct is supposed to be "Blue and white
least-significant 2 bits", not "black and white". Rename the field
accordingly. This field is not used anywhere, so just renaming it here
for correctness.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
Signed-off-by: Simon Ser <contact@emersion.fr>
Link: https://patchwork.freedesktop.org/patch/msgid/20210811205818.156100-1-lucas.demarchi@intel.com
include/drm/drm_edid.h

index 759328a..deccfd3 100644 (file)
@@ -336,7 +336,7 @@ struct edid {
        u8 features;
        /* Color characteristics */
        u8 red_green_lo;
-       u8 black_white_lo;
+       u8 blue_white_lo;
        u8 red_x;
        u8 red_y;
        u8 green_x;