From: Roel Kluin <12o3l@tiscali.nl> Date: Wed, 6 Feb 2008 09:36:51 +0000 (-0800) Subject: sound/oss/trident.c: fix incorrect test in trident_ac97_set() X-Git-Tag: v2.6.25-rc1~736 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be6c28e62e3a304b74013afab029af2021e1f50d;p=pandora-kernel.git sound/oss/trident.c: fix incorrect test in trident_ac97_set() If count reaches zero, the loop ends, but the postfix decrement still subtracts: testing for 'count == 0' will not work. Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Reviewed-by: Ray Lee Acked-by: Muli Ben-Yehuda Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed