diff options
author | Doug Anderson <dianders@chromium.org> | 2015-06-04 21:04:36 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2015-06-05 14:46:12 +0300 |
commit | 6c7e66e617d3cc7eb84ee61deb216dcec4899563 (patch) | |
tree | 9b21e88c0ce99992fb81dbfa8f333a51e342d28d /drivers/gpu/drm/drm_fb_helper.c | |
parent | dd0150026901b3fc73bd76bb423bacf5cc10393d (diff) | |
download | linux-6c7e66e617d3cc7eb84ee61deb216dcec4899563.tar.xz |
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 <dianders@chromium.org>
Tested-by: Yakir Yang <ykk@rock-chips.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/drm_fb_helper.c')
0 files changed, 0 insertions, 0 deletions