From: Doug Anderson Date: Thu, 4 Jun 2015 18:04:36 +0000 (-0700) Subject: drm/bridge: dw-hdmi: Return number of EDID modes X-Git-Tag: omap-for-v4.3/legacy-v2-signed~46^2~12^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c7e66e617d3cc7eb84ee61deb216dcec4899563;p=pandora-kernel.git drm/bridge: dw-hdmi: Return number of EDID modes The dw_hdmi_connector_get_modes() function accidentally forgets to return the number of modes it added, although it has this information stored in a local variable. Let's fix that. Without this fix, drm_helper_probe_single_connector_modes_merge_bits() could get confused and always call drm_add_modes_noedid(). That's not right. Signed-off-by: Doug Anderson Tested-by: Yakir Yang Signed-off-by: Thierry Reding --- Reading git-diff-tree failed