summaryrefslogtreecommitdiffstats
path: root/sound/pci/ac97/ac97_patch.c
Commit message (Collapse)AuthorAgeFilesLines
...
* [ALSA] ac97_codec (ALC655): add EAPD hack for MSI L725 laptopJaroslav Kysela2006-12-201-1/+2
| | | | | | New PCI ID described and tested Spectr <spectr@gmail.com> . Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] WM9712 fixes for ac97_patch.cLuke Zhang2006-10-061-3/+4
| | | | | | | | | | | | | | | This patch by Luke Zhang fixes a couple of issues with the WM9712 support in ac97_patch.c Changes:- o Fix Out3 ZC switch invert. o Extend capture volume control to 6 bits. o Change Mic 1 volume mask to 5 bits (31). o Add Mic 2 volume. Signed-off-by: Luke Zhang <lzhang@intrinsyc.com> Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] Fix WM9705 AC97 patch build errorLiam Girdwood2006-09-231-1/+1
| | | | | | | | | | | This patch fixes a build error (introduced by me) in ac97_patch.c wrt WM9705 touchscreen. o Removed spurious '3D' from character after |= operation (0x3D is ASCII for '=') Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] ac97: Fix AD1819 volume rangeVille Syrjala2006-09-231-0/+12
| | | | | | | | | | AD1819 volume registers can hold extra bits which do not affect the actual volume. Add a res_table to the codec patch to fix the problem. PCM, line and mic volume were tested. Signed-off-by: Ville Syrjala <syrjala@sci.fi> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] ac97 - Fix VIA EPIA sound problemAndrey Liakhovets2006-09-231-0/+4
| | | | | | | | | Fix the bad sound quality on VIA EPIA system using VIA VT1617A (ALSA bug#2381). Signed-off-by: Andrey Liakhovets <liakh@dol.ru> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] Add TLV support to AC97 codec driverTakashi Iwai2006-09-231-0/+39
| | | | | | | | Added the TLV support to AC97 codec driver for addition of dB range information. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] Fix for LG K1 Express LaptopMagnus Sandin2006-09-231-1/+2
| | | | | | | | | Attached is the patch for the LG K1 Express (K1-2333V) laptop that enables sound output. Signed-off-by: Magnus Sandin <magnus@sandin.cx> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] add codec-specific controls for UCB1400Mike Rapoport2006-09-231-0/+38
| | | | | | | | This patch adds some codec-specific controls for Philips UCB1400 codec. Signed-off-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] AD1888 mixer controls for DC modeJaya Kumar2006-06-281-0/+2
| | | | | | | | | | | | | This patch adds two mixer controls. The V_REFOUT enable is a documented register that couples the microphone input lines to the V_REFOUT DC source. The High Pass Filter enable in the AC97_AD_TEST2 (0x5c) is an undocumented register provided by Miller Puckette via Analog Devices that enables the AD codec to apply a high pass filter to the input. Signed-off-by: Jaya Kumar <jayakumar.alsa@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] AD1888 suspend/resume fixJaya Kumar2006-06-221-1/+8
| | | | | | | | | This patch adds a write to an undocumented register, 0x60 Extended Codec Register Page in the AD1888 codec. It is neccessary in order to make suspend/resume work with the AD1888. Signed-off-by: Jaya Kumar <jayakumar.alsa@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Disable AC97 AUX and VIDEO controls for WM9705 touchscreenRodolfo Giometti2006-06-221-0/+4
| | | | | | | | | | | | | | | This patch by Rodolfo Giometti disables the AC97 AUX and VIDEO controls on the WM9705 when the touchscreen is selected as the AUX and VIDEO lines are shared with the touch controller. Changes:- o Added AC97_HAS_NO_AUX flag o Test for AC97_HAS_NO_AUX flag in snd_ac97_mixer_build() o Sets AC97_HAS_NO_VIDEO and AC97_HAS_NO_AUX in patch_wolfson05() when WM9705 touch driver is selected. Signed-off-by: Rodolfo Giometti <giometti@linux.it> Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ac97 - Add Thinkpad T41p to AD1981 jack-sense blacklistTakashi Iwai2006-06-221-0/+1
| | | | | | | Added Thinkpad T41p to the blacklist to disable HP/line jack-sensing with AD1981B. The jack-sensing is just harmful on this laptop. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Add a workaround for ASUS A6KMTakashi Iwai2006-06-221-1/+4
| | | | | | | Added a workaround for ASUS A6KM board that requires EAPD rather than SPDIF-in. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] AC97: Correct Mic Boost label.James Courtier-Dutton2006-06-221-2/+2
| | | | Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [ALSA] emu10k1: Add support for Audigy4 (not Pro)James Courtier-Dutton2006-06-221-2/+2
| | | | Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [ALSA] ac97 - Remove duplicated entry in lm4550_restblTakashi Iwai2006-03-221-1/+0Star
| | | | | | | | Modules: AC97 Codec Removed the duplicated entry in lm4550_restbl. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ac97 - Added a codec patch for LM4550Charl Coetzee2006-03-221-0/+31
| | | | | | | | | Modules: AC97 Codec Added a codec patch for LM4550. It sets up a static volume resolution table. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] semaphore -> mutex (PCI part)Ingo Molnar2006-03-221-4/+6
| | | | | | | | | | | Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ac97 - Fix CLFE channel setting of ALC850Takashi Iwai2006-01-221-2/+2
| | | | | | | | Modules: AC97 Codec Fix CLFE channel setting of ALC850 (ALSA bug#1731). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ac97 - Suppress jack sense controls for ThinkpadsTakashi Iwai2006-01-221-12/+37
| | | | | | | | | Modules: AC97 Codec Added a blacklist to suppress to create jack sense controls. These controls must be always off on some devices (e.g. Thinkpad). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ac97 - Small fix for ALC65x codecTakashi Iwai2006-01-031-1/+1
| | | | | | | | | | Modules: AC97 Codec Small fix for ALC65x codec, sync with Realtek's driver codes: - Rename 'IEC958 Playback Route' to 'IEC958 Playback Source' so that mixer can handle it properly Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ac97 - Add extra IDs for headphone autosenseMatthew Garrett2006-01-031-0/+4
| | | | | | | | | | Modules: AC97 Codec The following patch adds some extra IDs for the list of hardware which should have headphone line sense enabled by default. Signed-off-by: Matthew Garrett <mjg59@srcf.ucam.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Remove xxx_t typedefs: AC97Takashi Iwai2006-01-031-204/+204
| | | | | | | | Modules: AC97 Codec Remove xxx_t typedefs from the AC97 codec support. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Remove snd_runtime_check() macroTakashi Iwai2005-11-041-1/+2
| | | | | | | | | | | Remove snd_runtime_check() macro. This macro worsens the readability of codes. They should be either normal if() or removable asserts. Also, the assert displays stack-dump, instead of only the last caller pointer. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix a typoTakashi Iwai2005-11-041-1/+1
| | | | | | | | Modules: AC97 Codec Fix a typo in the last patch. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix surround control of CMI9761Takashi Iwai2005-11-041-27/+50
| | | | | | | | | Modules: AC97 Codec - Fixed surround controls of CMI9761 (model 83) in update_jacks callback. - Clean up ad1888 and ad1985 update_jacks callbacks. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] no templated index for si3036 modem controlsSasha Khapyorsky2005-10-071-1/+5
| | | | | | | | AC97 Codec No index is templated for si3036 modem controls. Signed-off-by: Sasha Khapyorsky <sashak@smlink.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix ALC658D supportTakashi Iwai2005-09-121-2/+13
| | | | | | | | AC97 Codec Fix the internal speaker problem (e.g. Targa Traveller 826) with ALC658D codec. The info is taken from Cyberlink/realtek-modified code. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix EAPD for MSI S270Takashi Iwai2005-09-121-2/+7
| | | | | | | AC97 Codec Fix pin47 setting for EAPD control on MSI S270 laptop. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] HP nx6110 quirksSergey Vlasov2005-08-301-0/+1
| | | | | | | | | | | | | | Intel8x0 driver,AC97 Codec The HP nx6110 laptop needs to have Headphone Jack Sense enabled so that the internal speakers will be turned off when headphones are plugged in. Also ac97_quirk=hp_only is needed to make a single Master volume in the mixer instead of separate volumes for internal speakers and headphones, which just confuses the user. Signed-off-by: Sergey Vlasov <vsu@altlinux.ru> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ac97: make patch_wolfson_wm97??_specific() functions staticClemens Ladisch2005-08-301-4/+4
| | | | | | | | AC97 Codec Make the patch_wolfson_wm97??_specific() functions static again. This patch was accidentally reverted in rev. 1.92. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] Add VT1617A codec supportPhilip Prindeville2005-08-301-4/+14
| | | | | | | AC97 Codec Added (minimal) support of VT1617A codec with SPDIF. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] make local objects staticClemens Ladisch2005-08-301-4/+4
| | | | | | | | Memalloc module,PCM Midlevel,Timer Midlevel,GUS Library,AC97 Codec ALI5451 driver,RME9652 driver Make some functions/variables that are used in only one file static. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] WM9713 modem detectionLiam Girdwood2005-08-301-0/+1
| | | | | | | | | | | | | AC97 Codec This patch fixes a problem whereby the WM9713 has modem functionality incorrectly detected after an AC97 cold reset. Changes:- o Cleared AC97_SCAP_MODEM in wm9713 scaps Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] use SNDRV_CTL_NAME_IEC958 macroClemens Ladisch2005-08-301-4/+4
| | | | | | | | | | CMI8330 driver,ENS1370/1+ driver,FM801 driver,VIA82xx driver,AC97 Codec ALI5451 driver,CS46xx driver,EMU10K1/EMU10K2 driver,HDA Codec driver ICE1712 driver,ICE1724 driver Where appropriate, use the SNDRV_CTL_NAME_IEC958 instead of a literal string. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] WM97xx AC97 codec controlsLiam Girdwood2005-08-301-90/+339
| | | | | | | | | | | | | AC97 Codec o Enhanced current WM97xx support to provide additional controls and use the kcontrol suffix naming convention. o Added AC97_HAS_NO_MIC, AC97_HAS_NO_TONE and AC97_HAS_NO_STD_PCM. o Cleaned up WM97xx related comments. o Removed some wm9713 double mono controls and replaced with stereo controls. Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Jack Sense support for AD1980 and AD1888Sergey Ulanov2005-07-281-0/+3
| | | | | | | AC97 Codec Attached patch adds 'Jack Sense' controls for AD1980 and AD1888 chips. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] MC97 modem mixer in sound/pci/ac97Sasha Khapyorsky2005-06-221-2/+19
| | | | | | | | | AC97 Codec Simple MC97 modem mixer with two common controls: Off-hook and CID, and Si3056 MC specific control: Modem Speaker. Signed-off-by: Sasha Khapyorsky <sashak@smlink.com> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] Fix a wrong bit set in AC1985 codeTakashi Iwai2005-05-291-2/+2
| | | | | | | AC97 Codec Fixed a wrong bit set in AD1985 surround jack controls. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix Mic/CLFE sharing on AD1985Takashi Iwai2005-05-291-6/+13
| | | | | | | AC97 Codec Fixed Mic/CLFE jack sharing on AD1985 codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Remove obsolete mixer controlTakashi Iwai2005-05-291-1/+0Star
| | | | | | | AC97 Codec Removed the obsolete mixer control for AD1985. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ac97 - enable multichannel output on AD198x codecsClemens Ladisch2005-05-291-2/+4
| | | | | | | | AC97 Codec The code for AD1980/AD1985/AD1986 codecs forgot to enable the code to switch the jack sharing bits on AD1888-compatible codecs. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] ac97 - fix Mic jack sharing on AD1888 codecsClemens Ladisch2005-05-291-1/+1
| | | | | | | | AC97 Codec The code for modifying the center/LFE disable bit on AD1888 codecs accidentally toggled the mute split bit instead. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] ac97 - add the 'Mic Front Input Switch' control (ALC850)Sergey Vlasov2005-05-291-0/+1
| | | | | | | | | | AC97 Codec Add the 'Mic Front Input Switch' control to the mixer for ALC850. Enabling this input is required for using the front panel microphone connector with ASUS A8V motherboard. Signed-off-by: Sergey Vlasov <vsu@altlinux.ru> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] Improve the shared-jack handling on ac97Takashi Iwai2005-05-291-190/+236
| | | | | | | | | | | | | AC97 Codec The handling of shared surround/clfe output jacks with line/mic-in on some AC97 codecs is improved. Instead of 'Line-In As Surround' or 'Mic As Center/LFE' switch, two new enum controls are introduced: 'Channel Mode' and 'Surround Jack Mode'. The formar changes the current output mode among 2, 4 and 6-channels. The latter controls whether the jacks are shared or independent. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Add CM9780 support, fix CM9761 SPDIFTakashi Iwai2005-05-291-18/+125
| | | | | | | | | | AC97 Codec - Added CM9780 patch - Fix the SPDIF support on CM9761/CM9780 - Allow the generic enum callback to pass any number (not power of 2) as the value mask Signed-off-by: Takashi Iwai <tiwai@suse.de>
* Linux-2.6.12-rc2Linus Torvalds2005-04-171-0/+2309
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!