# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.1044  -> 1.1045 
#	 sound/oss/trident.c	1.34    -> 1.35   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/02/27	mulix@alhambra.mulix.org	1.1045
# Fix an operator precedence bug that caused a comparison to always return false. 
# Patch from John Levon <levon@movementarian.org>
# --------------------------------------------
#
diff -Nru a/sound/oss/trident.c b/sound/oss/trident.c
--- a/sound/oss/trident.c	Sat Mar  1 01:14:13 2003
+++ b/sound/oss/trident.c	Sat Mar  1 01:14:13 2003
@@ -3059,7 +3059,7 @@
         ncount = 10;
 	while(1) {
 		wcontrol = inw(TRID_REG(card, ALI_AC97_WRITE));
-		if(!wcontrol & 0x8000)
+		if(!(wcontrol & 0x8000))
 			break;
 		if(ncount <= 0)
 			break;
