commit | 1d260d7b3b03f96dfbc9781ec046edc729220f09 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Mon Aug 17 14:57:32 2015 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Aug 17 15:12:04 2015 +0200 |
tree | e4b17d933d66eae40dfd5c62f357dd9c057254d1 | |
parent | cc75cdfe1d64585d82013632b81199b1e9f1da97 [diff] |
ALSA: hda/proc - Fix racy string access for power states The power states in a proc file are printed in a racy manner on a single static string buffer. Fix it by calling snd_iprintf() directly for each state instead of processing on a temporary buffer. Signed-off-by: Takashi Iwai <tiwai@suse.de>