aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* ALSA: hda - Add missing models for Realtek codecsTakashi Iwai2009-05-11
| | | | | | | Added the missing descriptions and the model names for Realtek codecs to the documentation and the config table. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* Merge branch 'fix/hda' into topic/hdaTakashi Iwai2009-05-08
|\
| * ALSA: hda - Fix line-in on Mac Mini Core2 DuoTakashi Iwai2009-05-08
| | | | | | | | | | | | | | | | | | | | | | BIOS on Mac Mini Core2 Duo sets both INPUT and OUTPUT pinctl bits to the line-in jack, and it confuses the driver as if it's a valid input. This patch adds the check of OUTPUT bit so that the driver fixes the invalid pin setup. Tested-by: Tino Keitel <tino.keitel@gmx.de> Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Clean up Realtek auto-mute unsol routinesTakashi Iwai2009-05-08
| | | | | | | | | | | | | | | | | | | | | | | | | | Most of unsol handlers defined in patch_realtek.c can be classified to two types, mute via amp of pins and mute via ctl bits of pins. Thus there are a big room to generalize each implementation. This patch creates two generic functions, alc_automute_amp() and alc_automute_pin(). The latter is actually changed from the previous alc_sku_automute(). Each caller needs to initialize hp_pins and speaker_pins properly at own init_hook. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Clean up for ALC262 HP model auto-mute functionsTakashi Iwai2009-05-08
| | | | | | | | | | | | Just clean up, no functional changes. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Fix and clean up hippo-compat HP auto-mutingTakashi Iwai2009-05-08
| | | | | | | | | | | | | | | | | | | | | | The speaker auto-muting per HP plugging for ALC262 HIPPO and compatible devices is slightly buggy as the "Master" or "Front" mixer control can still toggle the speaker output even if the headphone is plugged. This patch fixes the issue, and clean up the hippo-related codes together with fixes of some inconsistent mixer names. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Add support for MacBook 5.1 (Aluminium)Kacper Szczesniak2009-05-07
| | | | | | | | | | Signed-off-by: Kacper Szczesniak <kacper@qwe.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Addition for HP dv4-1222nr laptop supportJames Gardiner2009-05-04
| | | | | | | | | | Signed-off-by: James Gardiner <renidragsemaj@yahoo.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Fix a typo in patch_realtek.c againTakashi Iwai2009-04-28
| | | | | | | | | | | | | | | | | | The commmit dfed0ef9b3ff9e37903920b6938ed33344ad0b3d was reverted accidentally by the merge of auto-detection fix patch. Fixed again now. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Don't enable auto-mute but for speakers in patch_realtek.cTakashi Iwai2009-04-28
| | | | | | | | | | | | | | | | | | Enable auto-muting in model=auto only for devices with HP and speakers. For devices with HP and line-outs, don't enable the auto-muting. Also, add a debug print to show the auto-mute feature. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | Merge branch 'topic/hda-realtek-amp' into topic/hdaTakashi Iwai2009-04-28
|\ \
| * | ALSA: hda - Add amp initialization for realtek auto modeTakashi Iwai2009-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the realtek auto-probing mode, the initialization of amp with some magic COEF or EAPD verbs is applied only when the codec SSID has valid values to satisfy the realtek's definition. However, many devices don't provide in that way, thus the device doesn't work as is. This patch allows the same initialization code even if the SSID doesn't pass the bit test. Also, alc_subsystem_id() is changed just to check and define the type, so that it's called in the parser, instead of the initializer. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | Merge branch 'fix/hda' into topic/hdaTakashi Iwai2009-04-28
|\ \ \ | |/ / |/| / | |/
| * ALSA: hda - Fix init verbs of AD1884A mobile modelTakashi Iwai2009-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current ad1884a-mobile model has a problem that the speaker output doesn't work sometimes after boot or power-saving on some HP laptops. It seems that the verbs accessing to the non-functional widgets cause this problem. This patch simplifies the init verbs for mobile model not to touch unnecessary setups so that it avoids the speaker-mute problem. Reference: Novell bnc#495668 https://bugzilla.novell.com/show_bug.cgi?id=495668 Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | Merge branch 'fix/hda' into topic/hdaTakashi Iwai2009-04-21
|\|
| * ALSA: hda - Add quirk for Packard Bell RS65Takashi Iwai2009-04-21
| | | | | | | | | | | | | | | | | | Added a quirk (model=m51va) for Packard Bell RS65 with ALC663. Reference: Novell bnc#496787 https://bugzilla.novell.com/show_bug.cgi?id=496787 Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Fix a typo in debug print for realtek auto-detectionTakashi Iwai2009-04-21
| | | | | | | | | | | | The NID and ASS numbers were swapped... Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - minor optimization in hda_set_power_state()Takashi Iwai2009-04-21
| | | | | | | | | | | | | | Check the target power-state before checking EAPD exception to reduce unneeded verb executions. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | Merge branch 'topic/hda-cache' into topic/hdaTakashi Iwai2009-04-21
|\ \
| * | ALSA: hda - Add debug prints for Realtek auto-initTakashi Iwai2009-04-21
| | | | | | | | | | | | | | | | | | | | | Added a couple of debug prints to show the checked id numbers in alc_subsystem_id(). Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: hda - Retry codec-verbs at errorsTakashi Iwai2009-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current error-recovery scheme for the codec communication errors doesn't work always well. Especially falling back to the single-command mode causes the fatal problem on many systems. In this patch, the problematic verb is re-issued again after the error (even with polling mode) instead of the single-cmd mode. The single-cmd mode will be used only when specified via the command option explicitly, mainly just for testing. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: hda - Cache PCM and STREAM parameters queriesTakashi Iwai2009-04-21
| | | | | | | | | | | | | | | | | | | | | | | | Cache quries for PCM and STREAM parameters as well as ampcap and pincap sharing the hash table. This will reduce the superfluous access of the same codec verbs. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | Merge branch 'fix/hda' into topic/hdaTakashi Iwai2009-04-21
|\ \ \ | | |/ | |/|
| * | ALSA: hda - Add quirks for Realtek codecsKailang Yang2009-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Support ASUS F81Se F5Q P80 U20A U80 U50 UX50 for ALC269 - Support ASUS F70SL UX20 X58LE F50Z N80Vc N81Te N505Tp Vx3V N5051A for ALC663 - Support DELL ZM1 for ALC272 Signed-off-by: Kailang Yang <kailang@realtek.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: hda - Fix alc662_init_verbsKailang Yang2009-04-21
| | | | | | | | | | | | | | | | | | | | | | | | Don't unmute unneeded amps for input mixers of ALC662 & co. It caused possible recording noises. Signed-off-by: Kailang Yang <kailang@realtek.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: hda - Set function_id only on FG nodesTakashi Iwai2009-04-17
| | | | | | | | | | | | | | | | | | | | | (Re)set function_id only from the value on FG nodes. The current code overrides the value with the last widget. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: hda - Add upper-limit of mixer amp for AD1884A-laptop model, tooTakashi Iwai2009-04-16
| | | | | | | | | | | | | | | | | | | | | Add the upper-limit of mixer amp for AD1884A-laptop model just like the mobile model for some HP laptops. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: hda - Fix headphone-detection on some machines with STAC/IDT codecsTakashi Iwai2009-04-16
| | | | | | | | | | | | | | | | | | | | | | | | When the headphone can have no unique DAC, the current code doesn't check the HP-detection although it should. Put the hp-detection check before the DAC check to fix this bug. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | ALSA: hda - Use snd_hda_codec_get_pincfg() in patch_ca0110.cTakashi Iwai2009-04-20
| | | | | | | | | | | | | | | | | | | | | Use the new function to reduce the access and allow the user setup via sysfs, too. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | ALSA: hda - Fix channels_max setting for CA0110Takashi Iwai2009-04-20
| | | | | | | | | | | | | | | | | | | | | Added the missing definition of max channels for CA0110, which resulted in an error at opening PCM devices. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | ALSA: hda - Check strcpy lengthTakashi Iwai2009-04-16
| | | | | | | | | | | | | | | | | | | | | Check the length to copy via strlen() beforehand to avoid the stack corruption, or use strlcpy() to be safe in HD-audio codes. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | ALSA: hda - Add Creative CA0110-IBG supportTakashi Iwai2009-04-16
|/ / | | | | | | | | | | | | | | Added the support for Creative SB X-Fi boards with UAA (HD-audio) mode. In the HD-audio mode, no multiple streams are supported by just it behaves like a normal HD-audio device. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda_intel.c - Consolidate bitfieldsJoe Perches2009-04-16
| | | | | | | | | | | | | | | | | | Commit fa00e046b41663cbda9b1affc0594669e5f14219 added a new bitfield not adjacent to other bitfields in the same struct. Moved the new one. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | Merge branch 'for-linus' of ↵Linus Torvalds2009-04-15
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: ALSA: hda - Fix the cmd cache keys for amp verbs ALSA: add missing definitions(letters) to HD-Audio.txt ALSA: hda - Add quirk mask for Fujitsu Amilo laptops with ALC883 [ALSA] intel8x0: add one retry to the ac97_clock measurement routine [ALSA] intel8x0: fix wrong conditions in ac97_clock measure routine ALSA: hda - Avoid call of snd_jack_report at release ALSA: add private_data to struct snd_jack ALSA: snd-usb-caiaq: rename files to remove redundant information in file pathes ALSA: snd-usb-caiaq: clean up header includes ALSA: sound/pci: use memdup_user() ALSA: sound/usb: use memdup_user() ALSA: sound/isa: use memdup_user() ALSA: sound/core: use memdup_user() [ALSA] intel8x0: do not use zero value from PICB register [ALSA] intel8x0: an attempt to make ac97_clock measurement more reliable [ALSA] pcm-midlevel: Add more strict buffer position checks based on jiffies [ALSA] hda_intel: fix unexpected ring buffer positions ASoC: Disable S3C64xx support in Kconfig ASoC: magician: remove un-necessary #include of pxa-regs.h and hardware.h
| * \ Merge branch 'topic/hda' into for-linusTakashi Iwai2009-04-15
| |\ \ | | | | | | | | | | | | | | | | | | | | * topic/hda: ALSA: hda - Fix the cmd cache keys for amp verbs ALSA: add missing definitions(letters) to HD-Audio.txt
| | * | ALSA: hda - Fix the cmd cache keys for amp verbsTakashi Iwai2009-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the key value generation for get/set amp verbs. The upper bits of the parameter have to be combined with the verb value to be unique for each direction/index of amp access. This fixes the resume problem on some hardwares like Macbook after the channel mode is changed. Tested-by: Johannes Berg <johannes@sipsolutions.net> Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: add missing definitions(letters) to HD-Audio.txtJustin Mattock2009-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | impact: Add missing definitions(letters). Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | Merge branch 'topic/memdup_user' into for-linusTakashi Iwai2009-04-15
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * topic/memdup_user: ALSA: sound/pci: use memdup_user() ALSA: sound/usb: use memdup_user() ALSA: sound/isa: use memdup_user() ALSA: sound/core: use memdup_user()
| | * | | ALSA: sound/pci: use memdup_user()Li Zefan2009-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove open-coded memdup_user(). Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | | ALSA: sound/usb: use memdup_user()Li Zefan2009-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove open-coded memdup_user(). Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | | ALSA: sound/isa: use memdup_user()Li Zefan2009-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove open-coded memdup_user(). Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | | ALSA: sound/core: use memdup_user()Li Zefan2009-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove open-coded memdup_user(). Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | | Merge branch 'topic/usb-caiaq' into for-linusTakashi Iwai2009-04-15
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * topic/usb-caiaq: ALSA: snd-usb-caiaq: rename files to remove redundant information in file pathes ALSA: snd-usb-caiaq: clean up header includes
| | * | | | ALSA: snd-usb-caiaq: rename files to remove redundant information in file pathesDaniel Mack2009-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleanup only, no functional change. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | | | ALSA: snd-usb-caiaq: clean up header includesDaniel Mack2009-04-14
| | |/ / / | | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | | | Merge branch 'topic/asoc' into for-linusTakashi Iwai2009-04-15
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * topic/asoc: ASoC: Disable S3C64xx support in Kconfig ASoC: magician: remove un-necessary #include of pxa-regs.h and hardware.h
| | * \ \ \ Merge branch 'for-2.6.30' of ↵Takashi Iwai2009-04-14
| | |\ \ \ \ | | | |/ / / | | |/| | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound-2.6 into topic/asoc
| | | * | | ASoC: Disable S3C64xx support in KconfigMark Brown2009-04-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to the process and communications issues with the 2.6.30 S3C platform merges none of the underlying arch/arm code for S3C64xx audio support made it into mainline, rendering the drivers useless. Disable them in Kconfig to avoid user confusion - users patching in the required support can always reenable this too. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
| | | * | | ASoC: magician: remove un-necessary #include of pxa-regs.h and hardware.hEric Miao2009-04-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Eric Miao <eric.miao@marvell.com> Cc: Philipp Zabel <philipp.zabel@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
| * | | | | Merge branch 'topic/hda' into for-linusTakashi Iwai2009-04-15
| |\ \ \ \ \ | | | |_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | * topic/hda: ALSA: hda - Add quirk mask for Fujitsu Amilo laptops with ALC883 ALSA: hda - Avoid call of snd_jack_report at release ALSA: add private_data to struct snd_jack