drm/edid: no CEA v3 extension is not an error
authorJean Delvare <jdelvare@suse.de>
Fri, 15 Nov 2019 16:07:36 +0000 (17:07 +0100)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 15 Nov 2019 19:06:30 +0000 (21:06 +0200)
commit42908007a61151166058249813e960087b062a89
tree5c6e53b9a19d26501f400de849d07aafedd1e3c0
parent834c43a97f341d319aa7b74099bbce2c4e75bc72
drm/edid: no CEA v3 extension is not an error

It is fine for displays without audio functionality to not implement
CEA v3 extension in their EDID. Do not return an error in that case,
instead return 0 as if there was a CEA v3 extension with no audio or
speaker block.

This fixes the second half of bug fdo#107825:
https://bugs.freedesktop.org/show_bug.cgi?id=107825

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Sean Paul <sean@poorly.run>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191115170736.7d88593d@endymion
drivers/gpu/drm/drm_edid.c