diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2015-05-18 16:02:44 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2015-05-18 16:02:44 +0000 |
commit | 8dca9c27c95e82ceb3a549e7f76324d5db3d6fe1 (patch) | |
tree | 219c7ad7114311aedaf53917eb26b9a915247e86 /sys | |
parent | 78680d05d1fb21665527ca7e6c2ef8c3a22b31fb (diff) | |
download | src-8dca9c27c95e82ceb3a549e7f76324d5db3d6fe1.tar.gz src-8dca9c27c95e82ceb3a549e7f76324d5db3d6fe1.zip |
Notes
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/sound/pci/hda/hdaa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/hda/hdaa.c b/sys/dev/sound/pci/hda/hdaa.c index 0d2ae4735b1d..fe4534378be7 100644 --- a/sys/dev/sound/pci/hda/hdaa.c +++ b/sys/dev/sound/pci/hda/hdaa.c @@ -3203,7 +3203,7 @@ hdaa_audio_as_parse(struct hdaa_devinfo *devinfo) /* Scan associations skipping as=0. */ cnt = 0; - for (j = 1; j < 16; j++) { + for (j = 1; j < 16 && cnt < max; j++) { first = 16; hpredir = 0; for (i = devinfo->startnode; i < devinfo->endnode; i++) { |