]> git.itanic.dy.fi Git - linux-stable/commitdiff
drm/nouveau/devinit: ensure legacy vga control is enabled during post
authorBen Skeggs <bskeggs@redhat.com>
Sun, 13 Jan 2013 07:08:01 +0000 (17:08 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Sun, 13 Jan 2013 07:59:29 +0000 (17:59 +1000)
Fixes ACPI backlight control after suspend on some systems.

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

index 2917d552689bca84e3c3dde8f059abdd9b80ebda..690ed438b2adbcf6c3263d5962e84054a62fef5d 100644 (file)
@@ -1534,7 +1534,6 @@ init_io(struct nvbios_init *init)
                mdelay(10);
                init_wr32(init, 0x614100, 0x10000018);
                init_wr32(init, 0x614900, 0x10000018);
-               return;
        }
 
        value = init_rdport(init, port) & mask;