Mercurial > illumos > illumos-gate
changeset 10919:d71227335d16
6539690 add sound driver for EMU10K chip (fix lint)
author | Garrett D'Amore <Garrett.Damore@Sun.COM> |
---|---|
date | Fri, 30 Oct 2009 15:14:45 -0700 |
parents | 2b2e29cc5077 |
children | 5610c58a888f |
files | usr/src/uts/common/io/audio/drv/audioemu10k/audioemu10k.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/common/io/audio/drv/audioemu10k/audioemu10k.c Fri Oct 30 11:47:18 2009 -0700 +++ b/usr/src/uts/common/io/audio/drv/audioemu10k/audioemu10k.c Fri Oct 30 15:14:45 2009 -0700 @@ -1993,15 +1993,15 @@ /* set any AC'97 analog outputs to full volume (no attenuation) */ if ((ac = ac97_control_find(ac97, AUDIO_CTRL_ID_FRONT)) != NULL) - ac97_control_set(ac, (100 << 8) | 100); + (void) ac97_control_set(ac, (100 << 8) | 100); if ((ac = ac97_control_find(ac97, AUDIO_CTRL_ID_LINEOUT)) != NULL) - ac97_control_set(ac, (100 << 8) | 100); + (void) ac97_control_set(ac, (100 << 8) | 100); if ((ac = ac97_control_find(ac97, AUDIO_CTRL_ID_SURROUND)) != NULL) - ac97_control_set(ac, (100 << 8) | 100); + (void) ac97_control_set(ac, (100 << 8) | 100); if ((ac = ac97_control_find(ac97, AUDIO_CTRL_ID_CENTER)) != NULL) - ac97_control_set(ac, 100); + (void) ac97_control_set(ac, 100); if ((ac = ac97_control_find(ac97, AUDIO_CTRL_ID_LFE)) != NULL) - ac97_control_set(ac, 100); + (void) ac97_control_set(ac, 100); /* Monitor sources */ emu10k_create_stereo(devc, CTL_AC97, GPR_MON_AC97,