diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-07-31 10:05:11 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-07-31 10:06:34 +0200 |
commit | aa563af763373a7e67a7b8fdb427d2a2fcbeab3b (patch) | |
tree | b641b4bdd1931c65ab981638236d8cf17d2d3757 /sound/pci/hda | |
parent | ALSA: hda: fix out-of-bound hdmi_eld.sad[] write (diff) | |
download | linux-aa563af763373a7e67a7b8fdb427d2a2fcbeab3b.tar.xz linux-aa563af763373a7e67a7b8fdb427d2a2fcbeab3b.zip |
ALSA: hda - Increase PCM stream name buf in patch_realtek.c
The name buf with size 16 is too short for some codec names, e.g.
truncated like "ALC861-VD Analo". Now the size is doubled.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 8c8b273116fb..b95df5d5dcc2 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -275,13 +275,13 @@ struct alc_spec { */ unsigned int num_init_verbs; - char stream_name_analog[16]; /* analog PCM stream */ + char stream_name_analog[32]; /* analog PCM stream */ struct hda_pcm_stream *stream_analog_playback; struct hda_pcm_stream *stream_analog_capture; struct hda_pcm_stream *stream_analog_alt_playback; struct hda_pcm_stream *stream_analog_alt_capture; - char stream_name_digital[16]; /* digital PCM stream */ + char stream_name_digital[32]; /* digital PCM stream */ struct hda_pcm_stream *stream_digital_playback; struct hda_pcm_stream *stream_digital_capture; |