summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/audio
diff options
context:
space:
mode:
authorZhao Edgar Liu - Sun Microsystems <Edgar.Liu@Sun.COM>2009-11-12 16:44:34 +0800
committerZhao Edgar Liu - Sun Microsystems <Edgar.Liu@Sun.COM>2009-11-12 16:44:34 +0800
commitac549041eafb1599fbfa7a7d1b2e28579be30614 (patch)
tree796a7ce8d3dd9ebaa22a7ac50845ea4beccf3fca /usr/src/uts/common/io/audio
parent80148899834a4078a2bd348504aa2d6de9752837 (diff)
downloadillumos-gate-ac549041eafb1599fbfa7a7d1b2e28579be30614.tar.gz
6863659 audio starts clean, becomes scratchy (fix lint)
Diffstat (limited to 'usr/src/uts/common/io/audio')
-rw-r--r--usr/src/uts/common/io/audio/drv/audiohd/audiohd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/audio/drv/audiohd/audiohd.c b/usr/src/uts/common/io/audio/drv/audiohd/audiohd.c
index 7679346314..582763f732 100644
--- a/usr/src/uts/common/io/audio/drv/audiohd/audiohd.c
+++ b/usr/src/uts/common/io/audio/drv/audiohd/audiohd.c
@@ -3491,7 +3491,7 @@ audiohd_create_codec(audiohd_state_t *statep)
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 =