projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fc2442
)
ALSA: hda/generic - fix uninitialized variable
author
Jiri Slaby
<jslaby@suse.cz>
Thu, 4 Apr 2013 20:32:10 +0000
(22:32 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 5 Apr 2013 05:19:55 +0000
(07:19 +0200)
changed is not initialized in path_power_down_sync, but it is expected
to be false in case no change happened in the loop. So set it to
false.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/hda_generic.c
b/sound/pci/hda/hda_generic.c
index 43c2ea5395618f9ca1c166c9125b006839714f6d..2dbe767be16bba7e84a3f3219ea1e9e98f52ef84 100644
(file)
--- a/
sound/pci/hda/hda_generic.c
+++ b/
sound/pci/hda/hda_generic.c
@@
-740,7
+740,7
@@
EXPORT_SYMBOL_HDA(snd_hda_activate_path);
static void path_power_down_sync(struct hda_codec *codec, struct nid_path *path)
{
struct hda_gen_spec *spec = codec->spec;
- bool changed;
+ bool changed
= false
;
int i;
if (!spec->power_down_unused || path->active)