projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfc7c9d
)
ALSA: hda/jack - Fix the assignment of input jack-type
author
Takashi Iwai
<tiwai@suse.de>
Fri, 11 Nov 2011 16:54:19 +0000
(17:54 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 16 Nov 2011 10:14:04 +0000
(11:14 +0100)
The type field was lost during the transition. Restored.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_jack.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/hda_jack.c
b/sound/pci/hda/hda_jack.c
index
ef36cbb
..
3bcf623
100644
(file)
--- 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,
err = snd_jack_new(codec->bus->card, name, type, &jack->jack);
if (err < 0)
return err;
+ jack->type = type;
jack->jack->private_data = jack;
jack->jack->private_free = hda_free_jack_priv;
return 0;