提交 c9aa763f 编写于 作者: D Daniel J Blueman 提交者: Ben Skeggs

drm/nouveau: prevent log mangling

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: NDaniel J Blueman <daniel@quora.org>
Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 04c8c210
...@@ -50,7 +50,7 @@ auxch_init(struct nouveau_i2c *aux, int ch) ...@@ -50,7 +50,7 @@ auxch_init(struct nouveau_i2c *aux, int ch)
ctrl = nv_rd32(aux, 0x00e4e4 + (ch * 0x50)); ctrl = nv_rd32(aux, 0x00e4e4 + (ch * 0x50));
udelay(1); udelay(1);
if (!timeout--) { if (!timeout--) {
AUX_ERR("begin idle timeout 0x%08x", ctrl); AUX_ERR("begin idle timeout 0x%08x\n", ctrl);
return -EBUSY; return -EBUSY;
} }
} while (ctrl & 0x03010000); } while (ctrl & 0x03010000);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册