Rev 1246 | Rev 1313 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1246 | Rev 1268 | ||
---|---|---|---|
Line 491... | Line 491... | ||
491 | if (i == fb_helper->crtc_count) |
491 | if (i == fb_helper->crtc_count) |
492 | continue; |
492 | continue; |
Line 493... | Line 493... | ||
493 | 493 | ||
494 | if (crtc->fb == fb_helper->crtc_info[i].mode_set.fb) { |
494 | if (crtc->fb == fb_helper->crtc_info[i].mode_set.fb) { |
495 | mutex_lock(&dev->mode_config.mutex); |
495 | mutex_lock(&dev->mode_config.mutex); |
496 | ret = crtc->funcs->set_config(&fb_helper->crtc_info->mode_set); |
496 | ret = crtc->funcs->set_config(&fb_helper->crtc_info[i].mode_set); |
497 | mutex_unlock(&dev->mode_config.mutex); |
497 | mutex_unlock(&dev->mode_config.mutex); |
498 | if (ret) |
498 | if (ret) |
499 | return ret; |
499 | return ret; |
500 | } |
500 | } |