trident 1/1 fix operator precedence bug
PATCH 1/1 trident 1/1 fix operator precedence bug
Fix an operator precedence bug that caused a comparison to always return false. Patch from John Levon <[email protected]>. Tested, works fine.
sound/oss/trident.c +1 -1
@@ -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 ;
Signature · 2 lines
Muli Ben-Yehuda http://www.mulix.org