aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
Commit message (Collapse)AuthorAgeFilesLines
...
| * pcxhr: treat firmware data as constDavid Woodhouse2008-07-101-2/+2
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
| * riptide: treat firmware data as constDavid Woodhouse2008-07-101-5/+5
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
| * vx222: treat firmware data as constDavid Woodhouse2008-07-101-1/+1
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* | ALSA: correct kcalloc usageMilton Miller2008-07-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | kcalloc is supposed to be called with the count as its first argument and the element size as the second. Both arguments are size_t so does not affect correctness. This callsite is during module_init and therefore not performance critical. Another patch will optimize the case when the count is variable but the size is fixed. Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: hda - Fix FSC V5505 modelTakashi Iwai2008-07-141-1/+2
| | | | | | | | | | | | | | model=laptop-hpmicsense matches better to FSC V5505 laptop. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: hda - Fix missing init for unsol events on micsense modelTakashi Iwai2008-07-141-0/+1
| | | | | | | | | | | | | | | | Fixed the missing initialization for unsolicited events on Cx5045 micsense model. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: hda - Fix internal mic vref pin setupTakashi Iwai2008-07-141-1/+1
| | | | | | | | | | | | | | Set the vref80 to the internal mic pin 0x12 for Cx5045. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: hda: 92hd71bxx PC BeepMatthew Ranostay2008-07-141-0/+3
| | | | | | | | | | | | | | | | Added volume controls for the analog PC Beep on 92hd71bxx codecs. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: HDA - HP dc7600 with pci sub IDs 0x103c/0x3011 belongs to hp-3013 modelJaroslav Kysela2008-07-101-1/+1
| | | | | | | | | | | | | | As reported and tested by an RedHat customer, HP dc7600 with pci sub IDs 0x103c/0x3011 works with the hp-3013 model and not with the hp only model. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: hda - removed redundant gpio_maskMatthew Ranostay2008-07-101-1/+0
| | | | | | | | | | | | | | | | An gpio_mask value was defined twice needlessly. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: hda - Add support for Lenovo 3000 N200Takashi Iwai2008-07-101-0/+1
| | | | | | | | | | | | | | | | | | Added the model entry (model=lenovo) for Lenovo N3000 N200 laptop with ALC861-VD. Reference below: https://bugzilla.novell.com/show_bug.cgi?id=406425 Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: ac97 - fix patch_ucb1400 for proper resumeMike Rapoport2008-07-101-2/+2
| | | | | | | | | | | | | | | | | | Replace 'snd_ac97_write' with snd_ac97_write_cache' in pacth_ucb1400 to allow proper codec wakeup. Signed-off-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: ALSA: hda - Fix speaker output on Toshiba P105Takashi Iwai2008-07-101-0/+1
| | | | | | | | | | | | | | | | | | Toshiba Satellite P105 with cx5045 has no HP pin but only a speaker pin and does the speaker-muting on hardware. Thus the matching model is laptop-micsense. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: hda - Add missing Thinkpad Z60m supportTakashi Iwai2008-07-101-0/+1
| | | | | | | | | | | | | | | | Added the missing SSID of Thinkpad Z60m for model=thinkpad with AD1981HD. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: ALSA: hda - Fix ALC883 medion modelTakashi Iwai2008-07-101-4/+4
| | | | | | | | | | | | | | | | ALC883 medion model doesn't unmute the proper amps so no output can be heard. Replaced the mute switches to behave just like other models. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: Fix AC97 power downTakashi Iwai2008-07-101-1/+3
| | | | | | | | | | | | | | | | Some laptops don't like PR3 powerdown. Do PR3 powerdown only for the real power-saving. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: via82xx - Add VIA audio device #1841 to ac97_quirk listWalter Sheets2008-07-101-0/+6
| | | | | | | | | | | | Signed-off-by: Walter Sheets <w41ter@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: hda - disable amp override on non-HP machinesTakashi Iwai2008-06-271-9/+13
| | | | | | | | | | | | | | | | Some machines with Cx5045 seem to have no problem with the volume over 0dB on NID 0x17. Disable amp overrides for other devices but HP. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: ymfpci - fix initial volume for 44.1kHz outputTakashi Iwai2008-06-271-0/+2
| | | | | | | | | | | | | | | | | | YDSXGR_BUF441OUTVOL register isn't initialized properly. This may lead to a silent output at full volume of unchanged "Wave Playback Volume". http://bugzilla.kernel.org/show_bug.cgi?id=10963 Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: hda - Add MacBook 3.1 supportTakashi Iwai2008-06-271-1/+2
| | | | | | | | | | | | | | | | MacBook 3.1 is compatible with model=mbp3. Added the codec SSID 10b6:3600. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: PCI168 snd-azt3328: some more fixupsAndreas Mohr2008-06-262-49/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix problem with codec register 0x6a being write-only by adding a software shadow register (caused annoying noise after module loading due to _toggling_ between gameport and audio bits instead of configuring them properly) - rename several "Wave" mixer controls to "PCM", since this is what Wine and several other apps are looking for (IOW, _requiring_) and this is what AC97 specs use as naming, too, thus I'd guess it's what these controls are - cleanup, small optimizations Signed-off-by: Andreas Mohr <andi@lisas.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: trident - pause s/pdif outputPierre Ossman2008-06-261-1/+4
| | | | | | | | | | | | | | | | | | | | Stop the S/PDIF DMA engine and output when the device is told to pause. It will keep on looping the current buffer contents if this isn't done. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx> Tested-by: Rene Herman <rene.herman@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: hda - Added SSID for 'Fujitsu Siemens Amilo M1451G' laptopTravis Place2008-06-261-0/+1
| | | | | | | | | | | | | | | | | | Add the SSID for the "Fujitsu Siemens Amilo M1451G" laptop to patch_realtek.c , so that it uses ALC880_FUJITSU by default. Signed-off-by: Travis Place <wishie@wishie.net> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: hda - Added model selection for iMac 24"Travis Place2008-06-261-0/+1
| | | | | | | | | | | | | | | | | | Added the SSID of a known iMac 24" to automatically use ALC885_IMAC24 quirk. Signed-off-by: Travis Place <wishie@wishie.net> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: hda - Fix digital converter proc outputTakashi Iwai2008-06-202-4/+3
| | | | | | | | | | | | | | | | AC_VERB_GET_DIGI_CONVERT_2 isn't actually implemented but reserved. The whole SIC bits are returned from DIGI_CONVERT_1. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: ca0106 - Add entry for another MSI K8N Diamond MBTakashi Iwai2008-06-181-0/+5
| | | | | | | | | | | | | | Added an entry for another MSI K8N Diamond mobo with SSID 1102:1009. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: hda - Fix wrong volumes in AD1988 auto-probe modeTakashi Iwai2008-06-181-11/+21
| | | | | | | | | | | | | | | | | | | | Don't create mixer volume elements for Headphone and Speaker if they use the same DAC as normal line-outs on AD1988. Otherwise the amp value gets screwed up, e.g. https://bugzilla.novell.com/show_bug.cgi?id=398255 Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: emu10k1 - simplify the last fixTakashi Iwai2008-06-171-6/+3
| | | | | | | | | | | | Clean up the previous commit for fixing memory leaks. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: emu10k1 - fix possible memory leak in memory allocation routinesJaroslav Kysela2008-06-171-2/+8
| | | | | | | | | | | | | | The leak was introduced in "[ALSA] emu10k1 - simplify page allocation for synth" commit. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: Remove duplicate MODULE_AUTHOR/DESCRIPTION/LICENCE from snd-ens1370.koJaroslav Kysela2008-06-161-0/+2
| | | | | | | | | | | | But comment only extra code in ak4531_codec.c for history. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: hda - use upper_32_bits()Takashi Iwai2008-06-161-10/+5
| | | | | | | | | | | | | | Use the standard upper_32_bits() instead of own macro. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: hda - bdl_pos_adj=32 as defaultTakashi Iwai2008-06-161-4/+3
| | | | | | | | | | | | | | | | | | Use bdl_pos_adj=32 as default except for Intel hardwares confirmed to work with bdl_pos_adj=1. Looks like ATI and NVidia require this higher value. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: hda: Add support for 92HD73xxx codecsMatthew Ranostay2008-06-161-12/+35
| | | | | | | | | | | | | | | | Added support for new family of IDT codecs. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: hda - Remove unused mutexTakashi Iwai2008-06-132-9/+0
| | | | | | | | | | | | | | Removed unused mutex from patch_*.c. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: hda - Fix stac9205_cfg_tblTakashi Iwai2008-06-131-14/+6
| | | | | | | | | | | | | | | | | | | | | | | | Sort stac9205_cfg_table in the order of id numbers, and removed the duplicated (obsoleted) entries for 0x01fc and 0x01fd. This doesn't change the driver behavior since the old entries are all secondary. The duplication occured due to commit dfe495d0, and the old entries were introduced by commit ae0a8ed8. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: hda - Add a warning if pending IRQ is foundTakashi Iwai2008-06-131-0/+9
| | | | | | | | | | | | | | | | | | | | The pending IRQ handling is a very hackish workaround and should be avoided as much as possible via a larger bdl_pos_adj option value. Put a warning message if this situation occurs so that the user may have a chance to notice that something is wrong. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: hda - Fix bdl_pos_adj value for ATI SB chipsetsTakashi Iwai2008-06-131-1/+13
| | | | | | | | | | | | | | | | | | | | | | ATI SB controllers seem to report the DMA ahead in the amount of FIFO. Thus bdl_pos_adj should be 32 for them as default. Also, the default value is set to -1, which means to make the driver to choose the appropriate value. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: hda - bdl_pos_adj option to each instanceTakashi Iwai2008-06-131-10/+15
| | | | | | | | | | | | | | | | The option bdl_pos_adj should be provided for each card instance instead of a global one because the value depends rather on each controller-chip. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: hda - remove position_fix=3Takashi Iwai2008-06-131-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | position_fix=3 is the option to correct the DMA position with the FIFO size. But, it never worked correctly, and we have now more other workarounds for the DMA position fixes. Thus better to remove it. Also, change POS_FIX_NONE to POS_FIX_LPIB to represent its real role better. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: hda - Add bdl_pos_adj optionTakashi Iwai2008-06-131-32/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a new option, bdl_pos_adj, to adjust the delay of IRQ-wakeup timing. Most HD-audio hardwares have a problem that a BDL IRQ is issued before actually the data and the DMA pointer are updated. We have already a mechanism to force to delay snd_pcm_period_elapsed() calls via workq, but this costs much CPU, and typically the delay is within one sample. Thus, it's more clever to adjust the BDL entries instead. The new option adds the size of the delay in frames. As default, it's set to 1 -- that is, one sample delay. Even the hardware is really correct, one sample delay is relatively harmless in comparison with reporting wrong positions. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | ALSA: emu10k1 - Fix page allocation with GFP_DMATakashi Iwai2008-06-131-1/+1
| | | | | | | | | | | | | | | | | | Added the missing GFP_ATOMIC to page_alloc when called with GFP_DMA. GFP_KERNEL often results in stalls for ZONE_DMA, so GFP_ATOMIC is more prgmatic. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | [ALSA] hda - Add Toshiba dynabook SS RX1 supportAkio Idehara2008-06-131-0/+2
| | | | | | | | | | | | | | | | I have Toshiba dynabook SS RX1 and this patch adds that support. Signed-off-by: Akio Idehara <zbe64533@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | [ALSA] ac97 - Fix power_save option value as time-outTakashi Iwai2008-06-131-3/+4
| | | | | | | | | | | | | | | | | | The power_save option was set as boot although it was meant to be a timeout value like the same option of snd-hda-intel originally. Now fixed to the same style. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | [ALSA] ac97: add support for wm9711 master left inv switchJuergen Beisert2008-06-131-0/+1
| | | | | | | | | | | | | | | | | | | | This patch adds support for Master Left Inv Switch on wm9711. At least required to drive the mono speaker on the PXA270 platfrom Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* | [ALSA] maestro3: Fix hw volume on HP OmniBookVille Syrjälä2008-06-061-15/+27
| | | | | | | | | | | | | | | | | | | | | | Make the hw volume buttons work correctly on some HP OmniBook laptops. The original quirk was apparently applied a bit too early and it was also lacking some critial register writes. This improved sequence was discovered by trial and error (like the original sequence). Tested and found working on OB500 and OB6000 laptops. Signed-off-by: Ville Syrjala <syrjala@sci.fi> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] hda - increase max_codecs of ICH to 4Takashi Iwai2008-06-061-1/+1
| | | | | | | | | | | | | | | | It turned out that some ICH9-based boards use SD3 for the audio codec where the current driver code doesn't probe. Since we have a better codec slot check now, it must be safe to increase this to 4. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] hda - Fix PLL gating control on Realtek codecsTakashi Iwai2008-06-061-0/+46
| | | | | | | | | | | | | | On some Realtek codecs, the analog PLL gating control bit must be set off while the default value is 1. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] hda - support intel DG33 motherboardsJiang zhe2008-06-061-0/+107
| | | | | | | | | | | | | | | | These two motherboards's pin configuration are not covered by driver. I wrote a new model to support them. Signed-off-by: Jiang zhe <zhe.jiang@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] emu10k1 - Fix inverted Analog/Digital mixer switch on Audigy2Takashi Iwai2008-06-022-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | On Audigy2 Platinum, the Analog/Digital mixer switch is inverted. https://bugzilla.novell.com/show_bug.cgi?id=396204 The patch adds a simple workaround. There might be another device requiring a similar fix, too (or fix for audigy2 generically), but right now I fix only the known broken one. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] emu10k1 - simplify page allocation for synthTakashi Iwai2008-05-301-38/+28
| | | | | | | | | | | | | | | | Simplify the page allocation of emu10k1 driver for emux synth support. Since these pages aren't be necessarily coherent, we can avoid expensive DMA-coherent routines. Signed-off-by: Takashi Iwai <tiwai@suse.de>