Mercurial > illumos > illumos-gate
changeset 11054:9a64431825fe
6863659 audio starts clean, becomes scratchy (fix lint)
author | Zhao Edgar Liu - Sun Microsystems <Edgar.Liu@Sun.COM> |
---|---|
date | Thu, 12 Nov 2009 16:44:34 +0800 |
parents | f33a1c7f3155 |
children | b284fde4401d |
files | usr/src/uts/common/io/audio/drv/audiohd/audiohd.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/common/io/audio/drv/audiohd/audiohd.c Wed Nov 11 21:59:42 2009 -0800 +++ b/usr/src/uts/common/io/audio/drv/audiohd/audiohd.c Thu Nov 12 16:44:34 2009 +0800 @@ -3491,7 +3491,7 @@ codec->vid = audioha_codec_verb_get(statep, i, AUDIOHDC_NODE_ROOT, AUDIOHDC_VERB_GET_PARAM, AUDIOHDC_PAR_VENDOR_ID); - if (codec->vid == -1) + if (codec->vid == (uint32_t)(-1)) continue; codec->revid =