summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/sound/pci/hda/hdac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sound/pci/hda/hdac.c b/sys/dev/sound/pci/hda/hdac.c
index 749ad4a..86d2c61 100644
--- a/sys/dev/sound/pci/hda/hdac.c
+++ b/sys/dev/sound/pci/hda/hdac.c
@@ -83,7 +83,7 @@
#include "mixer_if.h"
-#define HDA_DRV_TEST_REV "20081115_0116"
+#define HDA_DRV_TEST_REV "20081122_0117"
SND_DECLARE_FILE("$FreeBSD$");
@@ -4762,7 +4762,7 @@ hdac_audio_trace_as_out(struct hdac_devinfo *devinfo, int as, int seq)
nid_t min, res;
/* Find next pin */
- for (i = seq; ases[as].pins[i] == 0 && i < 16; i++)
+ for (i = seq; i < 16 && ases[as].pins[i] == 0; i++)
;
/* Check if there is no any left. If so - we succeded. */
if (i == 16)
OpenPOWER on IntegriCloud