aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
Commit message (Collapse)AuthorAge
* ALSA: hda - Add show for init_verbs and hints sysfs entriesTakashi Iwai2009-03-02
| | | | | | | Added the show method for init_verbs and hints hwdep sysfs entries. They show the current values. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: hda - Add hint string helper functionsTakashi Iwai2009-03-02
| | | | | | | | | Added snd_hda_get_hint() and snd_hda_get_bool_hint() helper functions to retrieve a hint value. Internally, the hint is stored in a pair of two strings, key and val. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: hda - Don't return a fatal error at PCM-creation errorsTakashi Iwai2009-03-02
| | | | | | | | Don't return a fatal error to the driver but continue to probe when any error occurs at creating PCM streams for each codec. It's often non-fatal and keeping it would help debugging. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: hda - Revert the codec probe at control-creation errorsTakashi Iwai2009-03-02
| | | | | | | | | Revert the codec probe instead of returning the error to the driver when any error occurs at creating the control elements. The control element conflict can be non-fatal in many cases, especially if it comes from the digital-only codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: hda - Intialize more codec fields in snd_hda_codec_reset()Takashi Iwai2009-03-02
| | | | | | Initiailize forgotten fields in snd_hda_codec_reset(). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: hda - Remove Toshiba probe_mask quirkTakashi Iwai2009-03-02
| | | | | | | | | Revert the Toshiba probe_mask quirk for 2.6.29 kernel (commit 38f1df27e3191d76e983cb9c6b4392582fd32fda). In the current tree, the digital-only codec is handled properly so no codec conflict should occur. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: hda - Don't create a beep control for digital-only ALC268Takashi Iwai2009-03-02
| | | | | | | | When an ALC268 codec is set up as the digital-only (as found in Toshiba laptops), it shouldn't contain any beep control that conflict with the primary codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* Merge branch 'fix/hda' into topic/hdaTakashi Iwai2009-03-02
|\ | | | | | | | | Conflicts: sound/pci/hda/hda_intel.c
| * ALSA: hda - Add probe_mask default for Toshiba laptop with ALC268Takashi Iwai2009-03-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some Toshiba laptops have another ALC268 codec on slot#3 that conflicts with the primary codec. The codec#3 is for the digital I/O, and should be fixed by the driver, but it'd need a bunch of changes. So, let's fix the probe problem temporarily by setting the default probe_mask value. Reference: kernel bugzilla #12735 http://bugzilla.kernel.org/show_bug.cgi?id=12735 Tested-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Fix an "unused variable" compile warningTakashi Iwai2009-02-27
| | | | | | | | | | | | | | | | Forgot to remove an unused variable. sound/pci/hda/patch_realtek.c: In function ‘alc882_auto_init_analog_input’: sound/pci/hda/patch_realtek.c:7018: warning: unused variable ‘vref’ Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Match all 103c:17xx devices for HP BPC modelTakashi Iwai2009-02-27
| | | | | | | | | | | | | | Use SND_PCI_QUIRK_MASK() to match all devices with 103c:17xx for HP BPC model. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | Merge branch 'fix/hda' into topic/hdaTakashi Iwai2009-02-27
|\| | | | | | | | | Conflicts: sound/pci/hda/patch_realtek.c
| * ALSA: hda - Add quirk for new HP xw seriesTakashi Iwai2009-02-27
| | | | | | | | | | | | Added model=hp-bpc for new HP xw series (103c:170b). Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * ALSA: hda - Fix digital mic on dell-m4-1 and dell-m4-3Takashi Iwai2009-02-27
| | | | | | | | | | | | | | | | Fix num_dmuxes initialization for dell-m4-1 and dell-m4-3 models of IDT 92HD71bxx codec, which was wrongly set to zero. Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Add the Device IDs for MCP89 and remove IDs of MCP7Bpeerchen2009-02-27
| | | | | | | | | | | | | | | | Added the Device IDs for MCP89 HD audio controller. Removed the IDs of MCP7B cause this chipset had been cancelled. Signed-off-by: Peer Chen <peerchen@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Add model=auto for STAC/IDT codecsTakashi Iwai2009-02-26
| | | | | | | | | | | | | | | | Added the model=auto to STAC/IDT codecs to use the BIOS default setup explicitly. It can be used to disable the device-specific model quirk in the driver. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Clean up the input pin setup in automatic modeTakashi Iwai2009-02-26
| | | | | | | | | | | | Clean up the input-pin setup in automatic mode in patch_realtek.c. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: sound/pci/hda: fix sparse warning: different signednessHannes Eder2009-02-26
| | | | | | | | | | | | | | | | | | | | Fix this sparse warning: sound/pci/hda/hda_codec.c:1544:19: warning: incorrect type in assignment (different signedness) sound/pci/hda/hda_codec.c:1544:19: expected unsigned long *vals sound/pci/hda/hda_codec.c:1544:19: got long *<noident> Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Clean up / fix quirk for Sony laptops with ALC262Takashi Iwai2009-02-25
| | | | | | | | | | | | | | | | | | | | Clean up / fix quirk entries for Sony laptops with ALC262 codec using NSD_PCI_QUIRK_MASK(). This also fixes the kernel bug #12780 http://bugme.linux-foundation.org/show_bug.cgi?id=12780 Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Clean up / fix quirks for HP laptops with AD1984ATakashi Iwai2009-02-25
| | | | | | | | | | | | | | Use SND_PCI_QUIRK_MASK() to clean up / support better HP laptops with AD1984A codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | ALSA: hda - Add pseudo device-locking for clear/reconfigTakashi Iwai2009-02-23
| | | | | | | | | | | | | | Added the pseudo device-locking using card->shutdown flag to avoid the crash via clear/reconfig during operations. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | Merge branch 'test/hda-pincfg' into topic/hdaTakashi Iwai2009-02-23
|\ \
| * | ALSA: hda - Make user_pin overriding the driver setupTakashi Iwai2009-02-23
| | | | | | | | | | | | | | | | | | | | | 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-23
| | | | | | | | | | | | | | | | | | | | | 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-23
| | | | | | | | | | | | | | | | | | Replace with snd_hda_codec_get_pincfg() in the places where available. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: hda - Remove codec-specific pin save/restore functionsTakashi Iwai2009-02-20
| | | | | | | | | | | | | | | | | | 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-20
| | | | | | | | | | | | | | | | | | 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-20
| | | | | | | | | | | | | | | | | | | | | 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-20
| | | | | | | | | | | | | | | | | | | | | 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>
* | | ALSA: hda - Don't give over 0dB volume for AD1984A HP laptopsTakashi Iwai2009-02-23
| | | | | | | | | | | | | | | | | | | | | | | | Set the upper limit 0dB to the volume of mixer amp 0x20 for AD1984A HP laptops. The overloaded volume may damage the internal speaker. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | Merge branch 'fix/hda' into topic/hdaTakashi Iwai2009-02-23
|\ \ \ | | |/ | |/| | | | | | | Conflicts: sound/pci/hda/patch_realtek.c
| * | ALSA: hda - Quirk for Acer Aspire 6530GJuan Jesus Garcia de Soria2009-02-23
| | | | | | | | | | | | | | | | | | | | | The Acer Aspire 6530G needs the 4930G "model" for the front mic to work properly. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: hda - add another MacBook Pro 3,1 SSIDLuke Yelavich2009-02-23
| | | | | | | | | | | | | | | | | | | | | | | | Reference: Ubuntu bug #33245 https://bugs.launchpad.net/bugs/332456 Signed-off-by: Luke Yelavich <themuso@ubuntu.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | ALSA: hda - add support for "Maxdata Favorit 100XS" (Intel HDA/ALC260)Michael Schwingen2009-02-23
| |/ |/| | | | | | | Signed-off-by: Michael Schwingen <michael@schwingen.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | Merge branch 'fix/hda' into topic/hdaTakashi Iwai2009-02-20
|\|
| * ALSA: hda - Fix parse of init_verbs sysfs entryTakashi Iwai2009-02-20
| | | | | | | | | | | | | | 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-19
| | | | | | | | | | | | | | 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-19
| | | | | | | | | | | | | | 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-19
| | | | | | | | | | | | | | 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-18
| | | | | | | | | | | | | | | | | | 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-16
| | | | | | | | | | | | 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-16
| | | | | | | | | | | | 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-16
|\|
| * Revert "Sound: hda - Restore PCI configuration space with interrupts off"Takashi Iwai2009-02-16
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-16
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-13
| | | | | | | | | | | | | | | | | | 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-13
| | | | | | | | | | | | | | 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-13
|\|
| * ALSA: hda - Add snd_hda_multi_out_dig_cleanup()Takashi Iwai2009-02-13
| | | | | | | | | | | | | | | | | | | | | | | | 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-13
| | | | | | | | | | | | | | Added the missing terminator for ad1989b_slave_dig_outs[]. Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>