projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d56c8e
)
ALSA: hda - Fix a complile warning in patch_via.c
author
Wang Shaoyan
<wangshaoyan.pt@taobao.com>
Fri, 5 Aug 2011 10:51:29 +0000
(18:51 +0800)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 5 Aug 2011 10:51:01 +0000
(12:51 +0200)
sound/pci/hda/patch_via.c:2087: warning: 'dac' may be used uninitialized in this function
Signed-off-by: Wang Shaoyan <wangshaoyan.pt@taobao.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_via.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/patch_via.c
b/sound/pci/hda/patch_via.c
index 84d8798bf33aea5f0e3f864930a67ce2b860b56f..4ebfbd874c9a81db01fe3961c5d1c65656735ab5 100644
(file)
--- a/
sound/pci/hda/patch_via.c
+++ b/
sound/pci/hda/patch_via.c
@@
-2084,7
+2084,7
@@
static int via_auto_create_speaker_ctls(struct hda_codec *codec)
struct via_spec *spec = codec->spec;
struct nid_path *path;
bool check_dac;
- hda_nid_t pin, dac;
+ hda_nid_t pin, dac
= 0
;
int err;
pin = spec->autocfg.speaker_pins[0];