changeset 24565:a5255ffdcfaf

rivatv_lock_nv04 is actually an extended version of rivatv_lock_nv03 (patch by Guillaume LECERF <foxcore at gmail.com>)
author faust3
date Wed, 19 Sep 2007 21:47:35 +0000
parents e4a38a7cdb81
children 1761f919749b
files vidix/nvidia_vid.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/nvidia_vid.c	Wed Sep 19 21:38:22 2007 +0000
+++ b/vidix/nvidia_vid.c	Wed Sep 19 21:47:35 2007 +0000
@@ -505,8 +505,7 @@
 }
 
 static void rivatv_lock_nv04 (struct rivatv_chip *chip, int LockUnlock){
-	VID_WR08 (chip->PVIO, 0x3C4, 0x06);
-	VID_WR08 (chip->PVIO, 0x3C5, LockUnlock ? 0x99 : 0x57);
+	rivatv_lock_nv03 (chip, LockUnlock);
 	VID_WR08 (chip->PCIO, 0x3D4, 0x1F);
 	VID_WR08 (chip->PCIO, 0x3D5, LockUnlock ? 0x99 : 0x57);
 }