drm/nouveau: prevent log mangling
authorDaniel J Blueman <daniel@quora.org>
Sat, 24 Nov 2012 02:11:46 +0000 (10:11 +0800)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 28 Nov 2012 23:58:12 +0000 (09:58 +1000)
On 3.7-rc6, add missing newline to to prevent the following kernel log
line getting appended to the current one after switching the integrated
GPU and suspending the discrete GPU.

Signed-off-by: Daniel J Blueman <daniel@quora.org>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/i2c/aux.c

index fe1ebf199ba9151bf68ee8e79cee5fb749195217..dc27e794a8515c978dc779a14ba420981d93d210 100644 (file)
@@ -50,7 +50,7 @@ auxch_init(struct nouveau_i2c *aux, int ch)
                ctrl = nv_rd32(aux, 0x00e4e4 + (ch * 0x50));
                udelay(1);
                if (!timeout--) {
-                       AUX_ERR("begin idle timeout 0x%08x", ctrl);
+                       AUX_ERR("begin idle timeout 0x%08x\n", ctrl);
                        return -EBUSY;
                }
        } while (ctrl & 0x03010000);