From 73451d6086fe45584fe1d978ca8b1bcbe9c6e2d8 Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Sat, 2 Feb 2008 22:00:14 +0000 Subject: [PATCH] sis.asm: skip codec powerup test git-svn-id: svn://kolibrios.org@708 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/drivers/sis.asm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kernel/trunk/drivers/sis.asm b/kernel/trunk/drivers/sis.asm index 7bd1b61db6..e54545fc22 100644 --- a/kernel/trunk/drivers/sis.asm +++ b/kernel/trunk/drivers/sis.asm @@ -587,7 +587,6 @@ proc create_primary_buff mov edx, GLOB_CTRL call [ctrl.ctrl_write32] - ret endp @@ -806,7 +805,7 @@ proc init_codec je .err test eax, CTRL_ST_CREADY - jnz .ready + jnz .done ;;;;;.ready call reset_codec test eax, eax @@ -829,7 +828,7 @@ proc init_codec call [ctrl.codec_read16] and eax, 0x0F cmp eax, 0x0F - jz .done + je .done sub [counter] , 1 jnz .wait