mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
arkfb: fix misplaced parentheses
Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Acked-by: Ondrej Zajicek <santiago@crfreenet.org> Cc: Krzysztof Helt <krzysztof.h1@poczta.fm> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
032220ba31
commit
b935257b1f
1 changed files with 2 additions and 2 deletions
|
@ -470,7 +470,7 @@ static void ark_dac_read_regs(void *data, u8 *code, int count)
|
||||||
|
|
||||||
while (count != 0)
|
while (count != 0)
|
||||||
{
|
{
|
||||||
vga_wseq(NULL, 0x1C, regval | (code[0] & 4) ? 0x80 : 0);
|
vga_wseq(NULL, 0x1C, regval | (code[0] & 4 ? 0x80 : 0));
|
||||||
code[1] = vga_r(NULL, dac_regs[code[0] & 3]);
|
code[1] = vga_r(NULL, dac_regs[code[0] & 3]);
|
||||||
count--;
|
count--;
|
||||||
code += 2;
|
code += 2;
|
||||||
|
@ -485,7 +485,7 @@ static void ark_dac_write_regs(void *data, u8 *code, int count)
|
||||||
|
|
||||||
while (count != 0)
|
while (count != 0)
|
||||||
{
|
{
|
||||||
vga_wseq(NULL, 0x1C, regval | (code[0] & 4) ? 0x80 : 0);
|
vga_wseq(NULL, 0x1C, regval | (code[0] & 4 ? 0x80 : 0));
|
||||||
vga_w(NULL, dac_regs[code[0] & 3], code[1]);
|
vga_w(NULL, dac_regs[code[0] & 3], code[1]);
|
||||||
count--;
|
count--;
|
||||||
code += 2;
|
code += 2;
|
||||||
|
|
Loading…
Reference in a new issue