drm/nouveau: Fix typo in init_idx_addr_latched().
authorFrancisco Jerez <currojerez@riseup.net>
Tue, 26 Feb 2013 01:33:12 +0000 (02:33 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 4 Mar 2013 01:46:12 +0000 (11:46 +1000)
Fixes script-based modesetting on some LVDS panels.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/bios/init.c

index 2cc1e6a..9c41b58 100644 (file)
@@ -869,7 +869,7 @@ init_idx_addr_latched(struct nvbios_init *init)
                init->offset += 2;
 
                init_wr32(init, dreg, idata);
-               init_mask(init, creg, ~mask, data | idata);
+               init_mask(init, creg, ~mask, data | iaddr);
        }
 }