diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-10-27 09:11:07 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-10-27 09:11:07 -0400 |
commit | 85c24cd8d3676cbae9e8809e894e68025c6d497e (patch) | |
tree | 024c4b655c1a8e6943ed8e75b64be38980508cfe /sound/pci/hda | |
parent | 49d776ffb50f2e428aafb6a6576e58e80f1e886c (diff) | |
parent | d1d0b6b668818571122d30d68a0b3f768bd83a52 (diff) |
Merge branch 'for-linus' into for-next
Merged upstream branch to make further fireworks development easier
(and avoid conflicts earlier).
Conflicts:
sound/firewire/bebob/bebob_focusrite.c
Diffstat (limited to 'sound/pci/hda')
-rw-r--r-- | sound/pci/hda/hda_local.h | 4 | ||||
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 10 |
2 files changed, 8 insertions, 6 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h index 7eb44e78e141..62658f2f8c9f 100644 --- a/sound/pci/hda/hda_local.h +++ b/sound/pci/hda/hda_local.h | |||
@@ -419,7 +419,7 @@ struct snd_hda_pin_quirk { | |||
419 | .subvendor = _subvendor,\ | 419 | .subvendor = _subvendor,\ |
420 | .name = _name,\ | 420 | .name = _name,\ |
421 | .value = _value,\ | 421 | .value = _value,\ |
422 | .pins = (const struct hda_pintbl[]) { _pins } \ | 422 | .pins = (const struct hda_pintbl[]) { _pins, {0, 0}} \ |
423 | } | 423 | } |
424 | #else | 424 | #else |
425 | 425 | ||
@@ -427,7 +427,7 @@ struct snd_hda_pin_quirk { | |||
427 | { .codec = _codec,\ | 427 | { .codec = _codec,\ |
428 | .subvendor = _subvendor,\ | 428 | .subvendor = _subvendor,\ |
429 | .value = _value,\ | 429 | .value = _value,\ |
430 | .pins = (const struct hda_pintbl[]) { _pins } \ | 430 | .pins = (const struct hda_pintbl[]) { _pins, {0, 0}} \ |
431 | } | 431 | } |
432 | 432 | ||
433 | #endif | 433 | #endif |
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 4c35490cf119..c9cf248ce8ec 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -2675,7 +2675,7 @@ static void alc269_shutup(struct hda_codec *codec) | |||
2675 | 2675 | ||
2676 | static struct coef_fw alc282_coefs[] = { | 2676 | static struct coef_fw alc282_coefs[] = { |
2677 | WRITE_COEF(0x03, 0x0002), /* Power Down Control */ | 2677 | WRITE_COEF(0x03, 0x0002), /* Power Down Control */ |
2678 | WRITE_COEF(0x05, 0x0700), /* FIFO and filter clock */ | 2678 | UPDATE_COEF(0x05, 0xff3f, 0x0700), /* FIFO and filter clock */ |
2679 | WRITE_COEF(0x07, 0x0200), /* DMIC control */ | 2679 | WRITE_COEF(0x07, 0x0200), /* DMIC control */ |
2680 | UPDATE_COEF(0x06, 0x00f0, 0), /* Analog clock */ | 2680 | UPDATE_COEF(0x06, 0x00f0, 0), /* Analog clock */ |
2681 | UPDATE_COEF(0x08, 0xfffc, 0x0c2c), /* JD */ | 2681 | UPDATE_COEF(0x08, 0xfffc, 0x0c2c), /* JD */ |
@@ -2786,7 +2786,7 @@ static void alc282_shutup(struct hda_codec *codec) | |||
2786 | 2786 | ||
2787 | static struct coef_fw alc283_coefs[] = { | 2787 | static struct coef_fw alc283_coefs[] = { |
2788 | WRITE_COEF(0x03, 0x0002), /* Power Down Control */ | 2788 | WRITE_COEF(0x03, 0x0002), /* Power Down Control */ |
2789 | WRITE_COEF(0x05, 0x0700), /* FIFO and filter clock */ | 2789 | UPDATE_COEF(0x05, 0xff3f, 0x0700), /* FIFO and filter clock */ |
2790 | WRITE_COEF(0x07, 0x0200), /* DMIC control */ | 2790 | WRITE_COEF(0x07, 0x0200), /* DMIC control */ |
2791 | UPDATE_COEF(0x06, 0x00f0, 0), /* Analog clock */ | 2791 | UPDATE_COEF(0x06, 0x00f0, 0), /* Analog clock */ |
2792 | UPDATE_COEF(0x08, 0xfffc, 0x0c2c), /* JD */ | 2792 | UPDATE_COEF(0x08, 0xfffc, 0x0c2c), /* JD */ |
@@ -2817,6 +2817,7 @@ static struct coef_fw alc283_coefs[] = { | |||
2817 | UPDATE_COEF(0x40, 0xf800, 0x9800), /* Class D DC enable */ | 2817 | UPDATE_COEF(0x40, 0xf800, 0x9800), /* Class D DC enable */ |
2818 | UPDATE_COEF(0x42, 0xf000, 0x2000), /* DC offset */ | 2818 | UPDATE_COEF(0x42, 0xf000, 0x2000), /* DC offset */ |
2819 | WRITE_COEF(0x37, 0xfc06), /* Class D amp control */ | 2819 | WRITE_COEF(0x37, 0xfc06), /* Class D amp control */ |
2820 | UPDATE_COEF(0x1b, 0x8000, 0), /* HP JD control */ | ||
2820 | {} | 2821 | {} |
2821 | }; | 2822 | }; |
2822 | 2823 | ||
@@ -5613,9 +5614,9 @@ static void alc662_led_gpio1_mute_hook(void *private_data, int enabled) | |||
5613 | unsigned int oldval = spec->gpio_led; | 5614 | unsigned int oldval = spec->gpio_led; |
5614 | 5615 | ||
5615 | if (enabled) | 5616 | if (enabled) |
5616 | spec->gpio_led &= ~0x01; | ||
5617 | else | ||
5618 | spec->gpio_led |= 0x01; | 5617 | spec->gpio_led |= 0x01; |
5618 | else | ||
5619 | spec->gpio_led &= ~0x01; | ||
5619 | if (spec->gpio_led != oldval) | 5620 | if (spec->gpio_led != oldval) |
5620 | snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_DATA, | 5621 | snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_DATA, |
5621 | spec->gpio_led); | 5622 | spec->gpio_led); |
@@ -5922,6 +5923,7 @@ static const struct snd_pci_quirk alc662_fixup_tbl[] = { | |||
5922 | SND_PCI_QUIRK(0x1028, 0x0626, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE), | 5923 | SND_PCI_QUIRK(0x1028, 0x0626, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE), |
5923 | SND_PCI_QUIRK(0x1028, 0x0696, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE), | 5924 | SND_PCI_QUIRK(0x1028, 0x0696, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE), |
5924 | SND_PCI_QUIRK(0x1028, 0x0698, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE), | 5925 | SND_PCI_QUIRK(0x1028, 0x0698, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE), |
5926 | SND_PCI_QUIRK(0x1028, 0x069f, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE), | ||
5925 | SND_PCI_QUIRK(0x103c, 0x1632, "HP RP5800", ALC662_FIXUP_HP_RP5800), | 5927 | SND_PCI_QUIRK(0x103c, 0x1632, "HP RP5800", ALC662_FIXUP_HP_RP5800), |
5926 | SND_PCI_QUIRK(0x1043, 0x11cd, "Asus N550", ALC662_FIXUP_BASS_1A), | 5928 | SND_PCI_QUIRK(0x1043, 0x11cd, "Asus N550", ALC662_FIXUP_BASS_1A), |
5927 | SND_PCI_QUIRK(0x1043, 0x1477, "ASUS N56VZ", ALC662_FIXUP_BASS_MODE4_CHMAP), | 5929 | SND_PCI_QUIRK(0x1043, 0x1477, "ASUS N56VZ", ALC662_FIXUP_BASS_MODE4_CHMAP), |