diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-09-11 10:46:36 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-09-11 10:46:36 -0400 |
commit | 05288426908ecb7ed7cbff61901db5918525578a (patch) | |
tree | 94a814cfdd53a011a10da09201ed08a6572175ff /sound/pci | |
parent | b35aabd78ddae8300fda7e6a1ac6f0484ef3e804 (diff) | |
parent | c302d6133c094bda7a7ce94eac5b50c018a7ca7b (diff) |
Merge branch 'for-linus' into for-next
To merge HD-audio fixes back to 3.7 development line
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 2 | ||||
-rw-r--r-- | sound/pci/hda/hda_intel.c | 1 | ||||
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index ff97cf3e8bad..d71d101e9293 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c | |||
@@ -2368,6 +2368,7 @@ int snd_hda_codec_reset(struct hda_codec *codec) | |||
2368 | } | 2368 | } |
2369 | if (codec->patch_ops.free) | 2369 | if (codec->patch_ops.free) |
2370 | codec->patch_ops.free(codec); | 2370 | codec->patch_ops.free(codec); |
2371 | memset(&codec->patch_ops, 0, sizeof(codec->patch_ops)); | ||
2371 | snd_hda_jack_tbl_clear(codec); | 2372 | snd_hda_jack_tbl_clear(codec); |
2372 | codec->proc_widget_hook = NULL; | 2373 | codec->proc_widget_hook = NULL; |
2373 | codec->spec = NULL; | 2374 | codec->spec = NULL; |
@@ -2383,7 +2384,6 @@ int snd_hda_codec_reset(struct hda_codec *codec) | |||
2383 | codec->num_pcms = 0; | 2384 | codec->num_pcms = 0; |
2384 | codec->pcm_info = NULL; | 2385 | codec->pcm_info = NULL; |
2385 | codec->preset = NULL; | 2386 | codec->preset = NULL; |
2386 | memset(&codec->patch_ops, 0, sizeof(codec->patch_ops)); | ||
2387 | codec->slave_dig_outs = NULL; | 2387 | codec->slave_dig_outs = NULL; |
2388 | codec->spdif_status_reset = 0; | 2388 | codec->spdif_status_reset = 0; |
2389 | module_put(codec->owner); | 2389 | module_put(codec->owner); |
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 76ec2421fae1..e1a12c754de9 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c | |||
@@ -2796,6 +2796,7 @@ static struct snd_pci_quirk position_fix_list[] __devinitdata = { | |||
2796 | SND_PCI_QUIRK(0x1043, 0x813d, "ASUS P5AD2", POS_FIX_LPIB), | 2796 | SND_PCI_QUIRK(0x1043, 0x813d, "ASUS P5AD2", POS_FIX_LPIB), |
2797 | SND_PCI_QUIRK(0x1043, 0x81b3, "ASUS", POS_FIX_LPIB), | 2797 | SND_PCI_QUIRK(0x1043, 0x81b3, "ASUS", POS_FIX_LPIB), |
2798 | SND_PCI_QUIRK(0x1043, 0x81e7, "ASUS M2V", POS_FIX_LPIB), | 2798 | SND_PCI_QUIRK(0x1043, 0x81e7, "ASUS M2V", POS_FIX_LPIB), |
2799 | SND_PCI_QUIRK(0x1043, 0x1b43, "ASUS K53E", POS_FIX_POSBUF), | ||
2799 | SND_PCI_QUIRK(0x104d, 0x9069, "Sony VPCS11V9E", POS_FIX_LPIB), | 2800 | SND_PCI_QUIRK(0x104d, 0x9069, "Sony VPCS11V9E", POS_FIX_LPIB), |
2800 | SND_PCI_QUIRK(0x10de, 0xcb89, "Macbook Pro 7,1", POS_FIX_LPIB), | 2801 | SND_PCI_QUIRK(0x10de, 0xcb89, "Macbook Pro 7,1", POS_FIX_LPIB), |
2801 | SND_PCI_QUIRK(0x1297, 0x3166, "Shuttle", POS_FIX_LPIB), | 2802 | SND_PCI_QUIRK(0x1297, 0x3166, "Shuttle", POS_FIX_LPIB), |
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index c16d0f822b5b..eef9c6cad25d 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -1075,7 +1075,7 @@ static struct snd_kcontrol_new stac_smux_mixer = { | |||
1075 | 1075 | ||
1076 | static const char * const slave_pfxs[] = { | 1076 | static const char * const slave_pfxs[] = { |
1077 | "Front", "Surround", "Center", "LFE", "Side", | 1077 | "Front", "Surround", "Center", "LFE", "Side", |
1078 | "Headphone", "Speaker", "IEC958", | 1078 | "Headphone", "Speaker", "IEC958", "PCM", |
1079 | NULL | 1079 | NULL |
1080 | }; | 1080 | }; |
1081 | 1081 | ||