summaryrefslogtreecommitdiffstats
path: root/sound/pci (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.gitDavid Woodhouse2008-07-1511-2852/+28
|\ | | | | | | | | | | Conflicts: sound/pci/Kconfig
| * firmware: convert ymfpci driver to use firmware loader exclusivelyDavid Woodhouse2008-07-103-1638/+0
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
| * firmware: convert maestro3 driver to use firmware loader exclusivelyDavid Woodhouse2008-07-102-181/+0
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
| * firmware: convert korg1212 driver to use firmware loader exclusivelyDavid Woodhouse2008-07-103-1015/+0
| | | | | | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
| * Fix a const pointer usage warning in the Digigram miXart soundcard driverDavid Howells2008-07-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | Fix a const pointer usage warning in the Digigram miXart soundcard driver. A const pointer is being passed to copy_from_user() to load the firmware into. This is okay in this case because the function has allocated the firmware struct itself, but the const qualifier is part of the firmware struct - so the patch casts the const away. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
| * Fix a const pointer usage warning in the Digigram pcxhr soundcard driverDavid Howells2008-07-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | Fix a const pointer usage warning in the Digigram pcxhr compatible soundcard driver. A const pointer is being passed to copy_from_user() to load the firmware into. This is okay in this case because the function has allocated the firmware struct itself, but the const qualifier is part of the firmware struct - so the patch casts the const away. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
| * ymfpci: treat firmware data as constDavid Woodhouse2008-07-101-25/+34
| | | | | | | | | | | | | | Standardise both in-kernel and loaded firmware to be stored as little-endian instead of host-endian. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
| * maestro3: treat firmware data as constDavid Woodhouse2008-07-101-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The maestro3 driver is byte-swapping its firmware to be host-endian in advance, when it doesn't seem to be necessary -- we could just use le16_to_cpu() as we load it. Doing that means that we need to switch the in-tree firmware to be little-endian too. Take the least intrusive way of doing this, which is to switch the existing snd_m3_convert_from_le() function to convert _to_ little-endian instead, and use it on the in-tree firmware instead of the loaded firmware. It's a bit suboptimal but doesn't matter much right now because we're about to remove the special cases for the in-tree version anyway. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
| * 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>