From: Ben Skeggs Date: Tue, 28 Sep 2010 00:03:57 +0000 (+1000) Subject: drm/nouveau: fix typo in c2aa91afea5f7e7ae4530fabd37414a79c03328c X-Git-Tag: v2.6.37-rc1~77^2~28^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=85341f27b49833325f97580edcd687b4d90bb30b;p=profile%2Fivi%2Fkernel-x86-ivi.git drm/nouveau: fix typo in c2aa91afea5f7e7ae4530fabd37414a79c03328c Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nouveau_dp.c b/drivers/gpu/drm/nouveau/nouveau_dp.c index 6bf3f714..4562f30 100644 --- a/drivers/gpu/drm/nouveau/nouveau_dp.c +++ b/drivers/gpu/drm/nouveau/nouveau_dp.c @@ -469,7 +469,7 @@ nouveau_dp_detect(struct drm_encoder *encoder) !nv_encoder->dcb->dpconf.link_bw) nv_encoder->dp.link_bw = DP_LINK_BW_1_62; - nv_encoder->dp.link_nr = dpcd[2] & DP_MAX_LANE_COUNT; + nv_encoder->dp.link_nr = dpcd[2] & DP_MAX_LANE_COUNT_MASK; if (nv_encoder->dp.link_nr > nv_encoder->dcb->dpconf.link_nr) nv_encoder->dp.link_nr = nv_encoder->dcb->dpconf.link_nr;