aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ALSA: hda - Make user_pin overriding the driver setupTakashi Iwai2009-02-232-5/+14
| | | | | | | Make user_pin overriding even the driver pincfg, e.g. the static / fixed pin config table in patch_sigmatel.c. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: hda - Rename {override,cur}_pin with {user,driver}_pinTakashi Iwai2009-02-234-33/+33
| | | | | | | Rename from override_pin and cur_pin with user_pin and driver_pin, respectively, to be a bit more intuitive. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: hda - Use snd_hda_codec_get_pincfg() in the rest placesTakashi Iwai2009-02-232-3/+2
| | | | | | Replace with snd_hda_codec_get_pincfg() in the places where available. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: hda - Update documentation for pincfg sysfs entriesTakashi Iwai2009-02-201-1/+13
| | | | | | | Added the brief descriptions of new sysfs entries for pint default config values. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: hda - Remove codec-specific pin save/restore functionsTakashi Iwai2009-02-203-13/+9
| | | | | | Replace the accessor to pin defaults with the common code for caching. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: hda - Remove IDT codec-specific pin save/restore functionsTakashi Iwai2009-02-201-190/+65
| | | | | | Removed its own save/restore functions and replaced with the common code. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: hda - Remove realtek codec-specific pin save/restore functionsTakashi Iwai2009-02-201-75/+3
| | | | | | | Now it's done in the common code. Also use the common access functions for pin defaults. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: hda - Add generic pincfg initializationTakashi Iwai2009-02-203-9/+223
| | | | | | | Added the generic pincfg cache and save/restore functions. Also introduced the pin-overriding via hwdep sysfs. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* Merge branch 'fix/hda' into topic/hdaTakashi Iwai2009-02-201-7/+8
|\
| * ALSA: hda - Fix parse of init_verbs sysfs entryTakashi Iwai2009-02-201-7/+8
| | | | | | | | | | | | | | Fixed the parse of init_verbs hwdep sysfs entry. Simplieied using sscanf. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Add digital-only mode for ALC268Takashi Iwai2009-02-191-6/+13
| | | | | | | | | | | | | | ALC268 can be configured as digital-only, e.g. for HDMI, on some machines. Allow the parser to set up the digital-only mode. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Avoid doubly beep attachment in patch_alc268()Takashi Iwai2009-02-191-6/+0
| | | | | | | | | | | | | | Remove the doubly attachment in patch_alc268(). The input beep is attached conditionally only when needed. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Don't enable beep for digital-only ALC262Takashi Iwai2009-02-191-5/+8
| | | | | | | | | | | | | | When ALC262 codec is configured as digital-only, it's meaningless to add the digital beep input. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Add quirk for Acer X3200Takashi Iwai2009-02-181-0/+1
| | | | | | | | | | | | | | | | | | Acer X3200 needs model=auto, otherwise model=acer is pre-selected. Reference: Novell bnc#476268 https://bugzilla.novell.com/show_bug.cgi?id=476268 Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Clean up quirks for HP laptops with AD1984ATakashi Iwai2009-02-161-2/+1
| | | | | | | | | | | | Clean up quirks for HP laptops with AD1984A using SND_PCI_QUIRK_MASK() Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Cleanup IDT92HD7x HP quirksTakashi Iwai2009-02-161-15/+5
| | | | | | | | | | | | Clean up IDT92HD7x quirks for HP laptops with SND_PCI_QUIRK_MASK(). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | Merge branch 'fix/hda' into topic/hdaTakashi Iwai2009-02-161-6/+2
|\ \ | |/
| * Revert "Sound: hda - Restore PCI configuration space with interrupts off"Takashi Iwai2009-02-161-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 32e176c14d7a425b681ef003c9061001ddb7fc7b. That commit caused a regression with suspend on Thinkpad SL300. Reference: kernel bug#12711 http://bugzilla.kernel.org/show_bug.cgi?id=12711 Tested-by: Alexandre Rostovtsev <tetromino@gmail.com> Acked-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Fix speaker output on HP DV4 1155-SEHerton Ronaldo Krzesinski2009-02-161-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | Force speaker pin config with model=hp-dv5 model for cases when bios doesn't set it up properly. All reported hp laptops using model=hp-dv5 model have speaker at pin 0x0d with same config, so it's safe to add this within hp-dv5 model. Reference: alsa-devel mailing list thread on http://mailman.alsa-project.org/pipermail/alsa-devel/2009-February/014390.html Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Support multiple digital outs with auto-probingTakashi Iwai2009-02-131-3/+19
| | | | | | | | | | | | | | | | | | Added the support of multiple digital outputs via auto-probing for Realtek ALC88x codecs. The multiple outputs are handled as slave streams, so only one PCM stream (and the corresponding IEC958* elements) is provided to control both digital outputs. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Add proper cleanup for multiout-dig for ALC codecsTakashi Iwai2009-02-131-1/+10
| | | | | | | | | | | | | | The recent patch_realtek.c contains the slave digital-out support as well. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | Merge branch 'fix/hda' into topic/hdaTakashi Iwai2009-02-134-4/+34
|\ \ | |/
| * ALSA: hda - Add snd_hda_multi_out_dig_cleanup()Takashi Iwai2009-02-134-2/+32
| | | | | | | | | | | | | | | | | | | | | | | | Added the helper function snd_hda_multi_out_dig_cleanup() to clean up the digital outputs with multi setup. This call is needed in cases the codec supports multiple digital outputs as slaves. Otherwise the slave widgets aren't properly cleaned up. For a single digital output (e.g. in patch_conexant.c), this call isn't needed. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: hda - Add missing terminator in slave dig-out arrayTakashi Iwai2009-02-131-2/+2
| | | | | | | | | | | | | | Added the missing terminator for ad1989b_slave_dig_outs[]. Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Add quirk for Acer AX1700-U3700ATakashi Iwai2009-02-131-0/+1
| | | | | | | | | | | | | | | | | | | | Force model=auto for Acer AX1700-U3700A with ALC888 codec. Since Acer devices are handlded as model=acer as default, the auto parsing has to be specified explicitly. (Maybe it's better rather to remove this default model=acer handling, though.) Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | Merge branch 'fix/hda' into topic/hdaTakashi Iwai2009-02-131-1/+1
|\ \ | |/
| * ALSA: hda - Change HP dv7 (103c:30f4) quirk from hp-m4 to hp-dv5 modelHerton Ronaldo Krzesinski2009-02-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change HP dv7 quirk: although reported to work with hp-m4 model (https://bugzilla.novell.com/show_bug.cgi?id=445321), the original report doesn't contain info about testing of internal microphone. Recently I received a report about internal mic not working (https://qa.mandriva.com/show_bug.cgi?id=44855#c193), this must be related with the forced line in on pin 0x0e done with hp-m4 model. Thus change the current quirk from STAC_HP_M4 to STAC_HP_DV5, later reported to be fixed on a provided kernel with this change (https://qa.mandriva.com/show_bug.cgi?id=44855#c196). Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda: add quirk for Lenovo X200 laptop dockAristeu Sergio Rozanski Filho2009-02-132-0/+41
| | | | | | | | | | | | | | | | | | | | | | Currently the HP connector on X200 dock doesn't detect when a HP is connected nor allows sound to be played using it. This patch fixes the problem by adding a quirk for this specific model. It's possible that others have the same NID (0x19) to report when dock HP is connected, but I don't have access to any. Please Cc me in the reply since I'm not subscribed to alsa-devel@. Signed-off-by: Aristeu Rozanski <aris@redhat.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda: Add STAC_DELL_S14 quirkMatthew Ranostay2009-02-131-17/+35
| | | | | | | | | | | | | | | | | | Add STAC_DELL_S14 quirk for new laptop series. Removed un-needed pins in pin_nids for stac92hd83xxx. Also reorganized connection selection code for the respective ports per quirk define. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Update documentationTakashi Iwai2009-02-132-0/+20
| | | | | | | | | | | | | | Update documentation regarding codec probing; the new probe_only option and the new probe_mask usage. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Add forced codec-slots for ASUS W5FTakashi Iwai2009-02-131-0/+2
| | | | | | | | | | | | | | | | ASUS W5F needs the fixed codec-slots to probe to override the BIOS problem. Tested-by: Giovanni Moser Frainer <giovanni@redix.com.br> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Allow fixed codec-probe maskTakashi Iwai2009-02-131-7/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some devices have broken BIOS and they don't set the codec probe-bit properly after cleared by the driver. This makes the driver skipping the necessary codec slots. Since BIOS update isn't always easy, now the semantics of probe_mask option is changed a bit. When it contains the bit 8 (0x100), the lower bits are used to probe that slots regardless of codec-probe bits returned by the hardware. For example, probe_mask=0x103 will force to probe the codec slot #0 and #1. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Cleanup setting of pin_configs in patch_stac927xHerton Ronaldo Krzesinski2009-02-121-4/+3
| | | | | | | | | | | | | | | | | | | | | | After commit "ALSA: hda - Fix restore of pin configs at resume for STAC/IDT codecs", the introduced stac_save_pin_cfgs function checks already for pins == NULL case, saving then default pin configs from machine with stac92xx_save_bios_config_regs. So we can remove the extra checks when stac927x_brd_tbl[spec->board_config] == NULL. Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | Merge branch 'fix/hda' into topic/hdaTakashi Iwai2009-02-121-1/+1
|\ \ | |/
| * ALSA: hda - Register (new) devices at reconfigTakashi Iwai2009-02-121-1/+1
| | | | | | | | | | | | | | The devices that have been newly added during reconfig must be registered. Otherwise they won't be visible to user-space. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Detect multiple digital-out pinsTakashi Iwai2009-02-126-30/+34
| | | | | | | | | | | | | | | | | | Detect multiple digital-out pins in snd_hda_parse_pin_defconfig(). The dig_out_pin and dig_out_type fields become arrays. The codec parser still doesn't use this multiple pins detection, though. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Fix a wrong pin check in snd_hda_parse_pin_def_config()Takashi Iwai2009-02-111-1/+1
| | | | | | | | | | | | Fixed a wrong pin check (a typo) for debug print of digital input pin. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | Merge branch 'fix/hda' into topic/hdaTakashi Iwai2009-02-111-27/+34
|\ \ | |/
| * ALSA: hda - add id for Intel IbexPeak integrated HDMI codecWu Fengguang2009-02-111-0/+2
| | | | | | | | | | Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: hda - compute checksum in HDMI audio infoframeWu Fengguang2009-02-111-0/+5
| | | | | | | | | | Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: hda - enable HDMI audio pin out at module loading timeWu Fengguang2009-02-111-23/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We found that enabling/disabling HDMI audio pin out at stream start/stop time will kill the leading 500ms or so sound samples. Avoid this by enabling pin out once and for ever at module loading time. The leading ~500ms audio samples will still be lost when switching from X-channel playback to Y-channel playback where X != Y. However there's no much we can do about it: the audio infoframe has to change and it looks like either G45 or YAMAHA requires some time to switch the configuration. Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: hda - allow multi-channel HDMI audio playback when ELD is not presentWu Fengguang2009-02-111-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | The YAMAHA AV-X1800 requires audio infoframe to include speaker-channel mapping to play >2 channel HDMI audio. In theory that mapping should be derived from its speaker configurations contained in its ELD. However we currently cannot get ELD in console before the KMS functionalities are ready. This is a more or less general issue at least in the near future. As a workaround, we propose to allow playback of mult-channel audio when ELD is not available. Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | Merge branch 'fix/hda' into topic/hdaTakashi Iwai2009-02-101-0/+1
|\ \ | |/
| * ALSA: hda - Add quirk for Asus z37e (1043:8284)Mackenzie Morgan2009-02-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | Added a quirk for Asus Z37E for fixing suspend/hibernation problem. Reference: https://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/25896 http://launchpadlibrarian.net/17053575/0001-Add-quirk-for-ASUS-Z37E-to-make-sound-audible-afte.patch https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=4282 Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - add digital beep support for ALC268Takashi Iwai2009-02-101-6/+22
| | | | | | | | | | | | | | | | | | | | | | Added the digital beep support for ALC268. It was missing in the last patches. However, ALC268 has a strange pin use for widget 0x1d, which could be used as another purpose. So, the patch adds a check of the beep control before creating the hook for input layer. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Clean up quirk listsTakashi Iwai2009-02-094-123/+65
| | | | | | | | | | | | | | Clean up quirk lists with bit masks. Also, sorted in numerical order for alc662_cfg_tbl[]. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | Merge branch 'topic/quirk-cleanup' into topic/hdaTakashi Iwai2009-02-091578-13020/+29445
|\ \
| * | ALSA: Add subdevice_mask field to quirk entriesTakashi Iwai2009-02-092-6/+20
| | | | | | | | | | | | | | | | | | | | | Introduced a new field, subdevice_mask, which specifies the bitmask to match with the given subdevice ID. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | Linux 2.6.29-rc3Linus Torvalds2009-01-281-1/+1
| | |
| * | Merge branch 'merge' of ↵Linus Torvalds2009-01-2887-1930/+4353
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: powerpc/mm: Fix handling of _PAGE_COHERENT in BAT setup code powerpc/pseries: Correct VIO bus accounting problem in CMO env. powerpc: More printing warning fixes for the l64 to ll64 conversion powerpc: Remove arch/ppc cruft from Kconfig powerpc: Printing fix for l64 to ll64 conversion: phyp_dump.c powerpc/embedded6xx: Update defconfigs powerpc/8xx: Update defconfigs powerpc/86xx: Update defconfigs powerpc/83xx: Update defconfigs powerpc/85xx: Update defconfigs powerpc/mpc8313erdb: fix kernel panic because mdio device is not probed powerpc/4xx: Update multi-board PowerPC 4xx defconfigs powerpc/44x: Update PowerPC 44x defconfigs powerpc/40x: Update PowerPC 40x defconfigs powerpc/85xx: Fix typo in mpc8572ds dts powerpc/44x: Warp patches for the new NDFC driver powerpc/4xx: DTS: Add Add'l SDRAM0 Compatible and Interrupt Info