From 0f890140f25324aa076b10f146840f6d7dc85a3a Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sat, 5 Mar 2022 01:06:20 +0000 Subject: [PATCH] igfx: fix some typos in comments --- sys/src/cmd/aux/vga/igfx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/src/cmd/aux/vga/igfx.c b/sys/src/cmd/aux/vga/igfx.c index 08c7f65f5..5b95ab929 100644 --- a/sys/src/cmd/aux/vga/igfx.c +++ b/sys/src/cmd/aux/vga/igfx.c @@ -65,7 +65,7 @@ struct Trans { Reg vss; /* pipe/trans VSYNCSHIFT_x */ Reg conf; /* pipe/trans CONF_x */ - Reg chicken; /* workarround register */ + Reg chicken; /* workaround register */ Reg dpctl; /* TRANS_DP_CTL_x */ @@ -962,7 +962,7 @@ inittrans(Trans *t, Mode *m) /* clear all but 27:28 frame start delay (initialized by bios) */ t->conf.v &= 3<<27; - /* tans/pipe enable */ + /* trans/pipe enable */ t->conf.v |= 1<<31; /* trans/pipe timing */ @@ -1384,7 +1384,7 @@ loadtrans(Igfx *igfx, Trans *t) sleep(10); } - /* workarround: set timing override bit */ + /* workaround: set timing override bit */ csr(igfx, t->chicken.a, 0, 1<<31); /* enable displayport transcoder */ @@ -1579,7 +1579,7 @@ disabletrans(Igfx *igfx, Trans *t) if((rr(igfx, t->conf.a) & (1<<30)) == 0) break; } - /* workarround: clear timing override bit */ + /* workaround: clear timing override bit */ csr(igfx, t->chicken.a, 1<<31, 0); /* disable dpll */