diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-11-11 11:54:19 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-11-16 05:14:04 -0500 |
commit | 344b01aecdc1e1173b5aa86208ef583489de7710 (patch) | |
tree | 3f70ea134d43ae302a66991f49dcc4e92eac0480 /sound/pci | |
parent | cfc7c9d307b6a3557e333f960218d344d3a70ce7 (diff) |
ALSA: hda/jack - Fix the assignment of input jack-type
The type field was lost during the transition. Restored.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/hda/hda_jack.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_jack.c b/sound/pci/hda/hda_jack.c index ef36cbb9e968..3bcf623862ce 100644 --- a/sound/pci/hda/hda_jack.c +++ b/sound/pci/hda/hda_jack.c | |||
@@ -345,6 +345,7 @@ int snd_hda_input_jack_add(struct hda_codec *codec, hda_nid_t nid, int type, | |||
345 | err = snd_jack_new(codec->bus->card, name, type, &jack->jack); | 345 | err = snd_jack_new(codec->bus->card, name, type, &jack->jack); |
346 | if (err < 0) | 346 | if (err < 0) |
347 | return err; | 347 | return err; |
348 | jack->type = type; | ||
348 | jack->jack->private_data = jack; | 349 | jack->jack->private_data = jack; |
349 | jack->jack->private_free = hda_free_jack_priv; | 350 | jack->jack->private_free = hda_free_jack_priv; |
350 | return 0; | 351 | return 0; |