aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/core/Kconfig13
-rw-r--r--sound/pci/au88x0/au88x0.c13
-rw-r--r--sound/pci/au88x0/au88x0.h1
-rw-r--r--sound/pci/au88x0/au88x0_pcm.c1
-rw-r--r--sound/pci/hda/hda_intel.c1
-rw-r--r--sound/pci/hda/patch_sigmatel.c2
-rw-r--r--sound/pci/oxygen/xonar_wm87x6.c1
7 files changed, 15 insertions, 17 deletions
diff --git a/sound/core/Kconfig b/sound/core/Kconfig
index ad409381f8cc..b413ed05e74d 100644
--- a/sound/core/Kconfig
+++ b/sound/core/Kconfig
@@ -12,6 +12,9 @@ config SND_HWDEP
12config SND_RAWMIDI 12config SND_RAWMIDI
13 tristate 13 tristate
14 14
15config SND_COMPRESS_OFFLOAD
16 tristate
17
15# To be effective this also requires INPUT - users should say: 18# To be effective this also requires INPUT - users should say:
16# select SND_JACK if INPUT=y || INPUT=SND 19# select SND_JACK if INPUT=y || INPUT=SND
17# to avoid having to force INPUT on. 20# to avoid having to force INPUT on.
@@ -154,16 +157,6 @@ config SND_DYNAMIC_MINORS
154 157
155 If you are unsure about this, say N here. 158 If you are unsure about this, say N here.
156 159
157config SND_COMPRESS_OFFLOAD
158 tristate "ALSA Compressed audio offload support"
159 default n
160 help
161 If you want support for offloading compressed audio and have such
162 a hardware, then you should say Y here and also to the DSP driver
163 of your platform.
164
165 If you are unsure about this, say N here.
166
167config SND_SUPPORT_OLD_API 160config SND_SUPPORT_OLD_API
168 bool "Support old ALSA API" 161 bool "Support old ALSA API"
169 default y 162 default y
diff --git a/sound/pci/au88x0/au88x0.c b/sound/pci/au88x0/au88x0.c
index 762bb108c51c..f13ad536b2d5 100644
--- a/sound/pci/au88x0/au88x0.c
+++ b/sound/pci/au88x0/au88x0.c
@@ -268,8 +268,14 @@ snd_vortex_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
268 card->shortname, chip->io, chip->irq); 268 card->shortname, chip->io, chip->irq);
269 269
270 // (4) Alloc components. 270 // (4) Alloc components.
271 err = snd_vortex_mixer(chip);
272 if (err < 0) {
273 snd_card_free(card);
274 return err;
275 }
271 // ADB pcm. 276 // ADB pcm.
272 if ((err = snd_vortex_new_pcm(chip, VORTEX_PCM_ADB, NR_ADB)) < 0) { 277 err = snd_vortex_new_pcm(chip, VORTEX_PCM_ADB, NR_PCM);
278 if (err < 0) {
273 snd_card_free(card); 279 snd_card_free(card);
274 return err; 280 return err;
275 } 281 }
@@ -299,11 +305,6 @@ snd_vortex_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
299 return err; 305 return err;
300 } 306 }
301#endif 307#endif
302 // snd_ac97_mixer and Vortex mixer.
303 if ((err = snd_vortex_mixer(chip)) < 0) {
304 snd_card_free(card);
305 return err;
306 }
307 if ((err = snd_vortex_midi(chip)) < 0) { 308 if ((err = snd_vortex_midi(chip)) < 0) {
308 snd_card_free(card); 309 snd_card_free(card);
309 return err; 310 return err;
diff --git a/sound/pci/au88x0/au88x0.h b/sound/pci/au88x0/au88x0.h
index 02f6e08f7592..bb938153a964 100644
--- a/sound/pci/au88x0/au88x0.h
+++ b/sound/pci/au88x0/au88x0.h
@@ -105,6 +105,7 @@
105#define MIX_SPDIF(x) (vortex->mixspdif[x]) 105#define MIX_SPDIF(x) (vortex->mixspdif[x])
106 106
107#define NR_WTPB 0x20 /* WT channels per each bank. */ 107#define NR_WTPB 0x20 /* WT channels per each bank. */
108#define NR_PCM 0x10
108 109
109/* Structs */ 110/* Structs */
110typedef struct { 111typedef struct {
diff --git a/sound/pci/au88x0/au88x0_pcm.c b/sound/pci/au88x0/au88x0_pcm.c
index 0488633ea874..0ef2f9712208 100644
--- a/sound/pci/au88x0/au88x0_pcm.c
+++ b/sound/pci/au88x0/au88x0_pcm.c
@@ -168,6 +168,7 @@ static int snd_vortex_pcm_open(struct snd_pcm_substream *substream)
168 runtime->hw = snd_vortex_playback_hw_adb; 168 runtime->hw = snd_vortex_playback_hw_adb;
169#ifdef CHIP_AU8830 169#ifdef CHIP_AU8830
170 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && 170 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK &&
171 VORTEX_IS_QUAD(vortex) &&
171 VORTEX_PCM_TYPE(substream->pcm) == VORTEX_PCM_ADB) { 172 VORTEX_PCM_TYPE(substream->pcm) == VORTEX_PCM_ADB) {
172 runtime->hw.channels_max = 4; 173 runtime->hw.channels_max = 4;
173 snd_pcm_hw_constraint_list(runtime, 0, 174 snd_pcm_hw_constraint_list(runtime, 0,
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 0852e204a4c8..fb35474c1203 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -2498,6 +2498,7 @@ static struct snd_pci_quirk position_fix_list[] __devinitdata = {
2498 SND_PCI_QUIRK(0x1043, 0x81b3, "ASUS", POS_FIX_LPIB), 2498 SND_PCI_QUIRK(0x1043, 0x81b3, "ASUS", POS_FIX_LPIB),
2499 SND_PCI_QUIRK(0x1043, 0x81e7, "ASUS M2V", POS_FIX_LPIB), 2499 SND_PCI_QUIRK(0x1043, 0x81e7, "ASUS M2V", POS_FIX_LPIB),
2500 SND_PCI_QUIRK(0x104d, 0x9069, "Sony VPCS11V9E", POS_FIX_LPIB), 2500 SND_PCI_QUIRK(0x104d, 0x9069, "Sony VPCS11V9E", POS_FIX_LPIB),
2501 SND_PCI_QUIRK(0x10de, 0xcb89, "Macbook Pro 7,1", POS_FIX_LPIB),
2501 SND_PCI_QUIRK(0x1297, 0x3166, "Shuttle", POS_FIX_LPIB), 2502 SND_PCI_QUIRK(0x1297, 0x3166, "Shuttle", POS_FIX_LPIB),
2502 SND_PCI_QUIRK(0x1458, 0xa022, "ga-ma770-ud3", POS_FIX_LPIB), 2503 SND_PCI_QUIRK(0x1458, 0xa022, "ga-ma770-ud3", POS_FIX_LPIB),
2503 SND_PCI_QUIRK(0x1462, 0x1002, "MSI Wind U115", POS_FIX_LPIB), 2504 SND_PCI_QUIRK(0x1462, 0x1002, "MSI Wind U115", POS_FIX_LPIB),
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 87e684fa830f..3556408d6ece 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -1596,7 +1596,7 @@ static const struct snd_pci_quirk stac92hd73xx_cfg_tbl[] = {
1596 SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x02bd, 1596 SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x02bd,
1597 "Dell Studio 1557", STAC_DELL_M6_DMIC), 1597 "Dell Studio 1557", STAC_DELL_M6_DMIC),
1598 SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x02fe, 1598 SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x02fe,
1599 "Dell Studio XPS 1645", STAC_DELL_M6_BOTH), 1599 "Dell Studio XPS 1645", STAC_DELL_M6_DMIC),
1600 SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x0413, 1600 SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x0413,
1601 "Dell Studio 1558", STAC_DELL_M6_DMIC), 1601 "Dell Studio 1558", STAC_DELL_M6_DMIC),
1602 {} /* terminator */ 1602 {} /* terminator */
diff --git a/sound/pci/oxygen/xonar_wm87x6.c b/sound/pci/oxygen/xonar_wm87x6.c
index 478303e6c2b0..63cff90706bf 100644
--- a/sound/pci/oxygen/xonar_wm87x6.c
+++ b/sound/pci/oxygen/xonar_wm87x6.c
@@ -177,6 +177,7 @@ static void wm8776_registers_init(struct oxygen *chip)
177 struct xonar_wm87x6 *data = chip->model_data; 177 struct xonar_wm87x6 *data = chip->model_data;
178 178
179 wm8776_write(chip, WM8776_RESET, 0); 179 wm8776_write(chip, WM8776_RESET, 0);
180 wm8776_write(chip, WM8776_PHASESWAP, WM8776_PH_MASK);
180 wm8776_write(chip, WM8776_DACCTRL1, WM8776_DZCEN | 181 wm8776_write(chip, WM8776_DACCTRL1, WM8776_DZCEN |
181 WM8776_PL_LEFT_LEFT | WM8776_PL_RIGHT_RIGHT); 182 WM8776_PL_LEFT_LEFT | WM8776_PL_RIGHT_RIGHT);
182 wm8776_write(chip, WM8776_DACMUTE, chip->dac_mute ? WM8776_DMUTE : 0); 183 wm8776_write(chip, WM8776_DACMUTE, chip->dac_mute ? WM8776_DMUTE : 0);