Commit a2d49ae7 authored by James Simmons's avatar James Simmons Committed by Dave Airlie

drm/kms: typo fix

I believe this is a typo.
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 61c4b24b
No related merge requests found
...@@ -707,7 +707,7 @@ int drm_fb_helper_set_par(struct fb_info *info) ...@@ -707,7 +707,7 @@ int drm_fb_helper_set_par(struct fb_info *info)
if (crtc->fb == fb_helper->crtc_info[i].mode_set.fb) { if (crtc->fb == fb_helper->crtc_info[i].mode_set.fb) {
mutex_lock(&dev->mode_config.mutex); mutex_lock(&dev->mode_config.mutex);
ret = crtc->funcs->set_config(&fb_helper->crtc_info->mode_set); ret = crtc->funcs->set_config(&fb_helper->crtc_info[i].mode_set);
mutex_unlock(&dev->mode_config.mutex); mutex_unlock(&dev->mode_config.mutex);
if (ret) if (ret)
return ret; return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment