summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-03-16 10:42:13 +0300
committerTakashi Iwai <tiwai@suse.de>2016-03-16 18:35:16 +0300
commit8cf3968ccb4e6768425ed3e26124e690046cc023 (patch)
tree8cf377c364f4bc775433f7cd0114c9a10306e704
parent447d6275f0c21f6cc97a88b3a0c601436a4cdf2a (diff)
downloadlinux-8cf3968ccb4e6768425ed3e26124e690046cc023.tar.xz
ALSA: mixart: silence an uninitialized variable warning
We could print the uninitialized value of "stat" in the error message. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/pci/mixart/mixart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/mixart/mixart.c b/sound/pci/mixart/mixart.c
index bc81b9f75ed0..25c0ddd3a53b 100644
--- a/sound/pci/mixart/mixart.c
+++ b/sound/pci/mixart/mixart.c
@@ -132,7 +132,7 @@ static int mixart_set_pipe_state(struct mixart_mgr *mgr,
}
if(start) {
- u32 stat;
+ u32 stat = 0;
group_state.pipe_count = 0; /* in case of start same command once again with pipe_count=0 */