]> git.baikalelectronics.ru Git - kernel.git/commit
drm/edid: use else-if in CTA extension parsing
authorJani Nikula <jani.nikula@intel.com>
Mon, 9 May 2022 12:03:00 +0000 (15:03 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 13 May 2022 15:12:52 +0000 (18:12 +0300)
commitbbe2522eeb648f3ee9dc69bd7af0cbaf4e38b334
treefcd142b8d001fb7f871132d973f71e20b2b7ecb0
parentacd8ce889e60619da600cd75ecd07c204d9e63c0
drm/edid: use else-if in CTA extension parsing

Only one of the conditions can be true.

Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/3a7ba2217134b0ab4c4c72e4333231a4e0616e88.1652097712.git.jani.nikula@intel.com
drivers/gpu/drm/drm_edid.c