ALSA: hda: dynamic jack id
authorMatthew Ranostay <mranostay@embeddedalley.com>
Sat, 25 Oct 2008 05:05:29 +0000 (01:05 -0400)
committerTakashi Iwai <tiwai@suse.de>
Mon, 27 Oct 2008 07:15:14 +0000 (08:15 +0100)
commit282cd76ffca781013151344c4b0f9229e9ea3c35
treed6a201558af22f21aeff7e3340095410fa5984d9
parenta53ccab3ccac9e8676a683df9822a2daec83ef54
ALSA: hda: dynamic jack id

This patch duplicates the jack->id pointer with kstrdup() to prevent
scoping issues from calling autoprobing functions from the HDA section.

Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/jack.c