aboutsummaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2008-11-05ALSA: hda - Intel HDMI audio supportWu, Fengguang
Add support for Intel G45 integrated HDMI audio codecs. This initial release supports: - 2 channel stereo sound output - report monitor's ELD information Signed-off-by: Wu Fengguang <wfg@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-11-04ALSA: hda - Don't create empty PCM streamsTakashi Iwai
Due to the hda-reconfiguration patches, the check of empty stream is gone, and this results in an error with the codec setup with empty streams. This patch adds the check again to avoid the error at probing. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-11-04ALSA: hda - Fix possible NULL dereferenceTakashi Iwai
Add NULL-check of the return value of snd_kctl_new1() before accessing it. Also, make a sanity NULL check to snd_BUG_ON() for debugging only. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-11-03ALSA: hda - Fix missing ADC list in ALC260 auto-probe modeTakashi Iwai
The commit f9e336f65b666b8f1764d17e9b7c21c90748a37e ALSA: hda - Unify capture mixer creation in realtek codes removed the ADC check for ALC260 auto-probe mode accidentally. Re-added to patch_alc260() again. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-11-03ALSA: hda - Add ALC299 fujitsu preset modelTakashi Iwai
Added a preset model for FSC Amilo with ALC269 codec chip. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-31ALSA: hda - Re-add input-source control for RealtekTakashi Iwai
Re-added again "Input Source" control that was removed mistakenly in the previous patchset. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-31ALSA: hda - Unify capture mixer creation in realtek codesTakashi Iwai
Unified the capture mixer creation in patch_realtek.c. ALC268 is still an exception since it has no AMP in ADC but in MUX widget. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-31ALSA: hda - Unify capture callbacks in realtek codesTakashi Iwai
Unify the capture callbacks in patch_realtek.c. The difference of matrix or mux style is checked via spec->is_mix_capture flag. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-31ALSA: hda - Use macros to check array overflowTakashi Iwai
Use macro to add mixer and verb elements to check the possible array overflow. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-31Merge branch 'topic/fix/hda' into topic/hdaTakashi Iwai
2008-10-31ALSA: hda - Add digital-mic for ALC269 auto-probe modeTakashi Iwai
The digital mic wasn't detected properly for ALC269 auto-probing mode because of its widget number. Fixed now. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-31ALSA: hda - Disable broken mic auto-muting in Realtek codesTakashi Iwai
The recent addition of automatic mic-muting is broken in some cases. The code assumes that the pin nids <= 0x18, but the digital pins can be less than 0x18. Also, it assumes the front-mic being the internal mic, but it depends on the hardware implementation actually. Instead of complex case-fixes, better to disable the code as now. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-29ALSA: hda - Add reboot notifierTakashi Iwai
The current snd-hda-intel driver seems blocking the power-off on some devices like eeepc. Although this is likely a BIOS problem, we can add a workaround by disabling IRQ lines before power-off operation. This patch adds the reboot notifier to achieve it. The detailed problem description is found in bug#11889: http://bugme.linux-foundation.org/show_bug.cgi?id=11889 Tested-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br> Cc: stable@kernel.org Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-29Merge branch 'topic/fix/hda' into topic/hdaTakashi Iwai
2008-10-29ALSA: hda - Fix indentation in hda_local.hTakashi Iwai
Just cosmetic fixes of spacing that annoyed me. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-29ALSA: hda - Fix SPDIF mute on IDT/STAC codecsTakashi Iwai
The SPDIF mute switch code seems broken. It doesn't set unmute bits properly. Also it contains the duplicated lines (merge error?) to be cleaned up. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-28ALSA: hda: Add HDA vendor ID for Wolfson MicroelectronicsMark Brown
Add Wolfson Microelectronics to the HDA vendor ID table. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-28ALSA: hda - Add another HP model for AD1884ATakashi Iwai
Added a quirk entry for another HP mobile device with AD1884A codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-28Merge branch 'topic/fix/hda' into topic/hdaTakashi Iwai
2008-10-28ALSA: hda - Remove old codec-probe limitationTakashi Iwai
Removed the old workaround to avoid the non-existing codec slot. The current code should work without that workaround. If any, we can add a quirk table. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-27ALSA: hda - Restore default pin configs for realtek codecsTakashi Iwai
Some machines have broken BIOS resume that doesn't restore the default pin configuration properly, which results in a wrong detection of HP pin. This causes a silent speaker output due to missing HP detection. Related bug: Novell bug#406101 https://bugzilla.novell.com/show_bug.cgi?id=406101 This patch fixes the issue by saving/restoring the default pin configs by the driver itself. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-27Merge branch 'topic/hda-next' into topic/hdaTakashi Iwai
2008-10-27ALSA: hda: add support for jack detection on IDT codecs.Matthew Ranostay
This patch adds support to the IDT codec families to report jack status to the jack abstraction layer. This required some reorganization in the stac92xx_unsol_event function in which the index value is changed to reporting the nid with the event. Also adds an sigmatel_jack struct to keep track of the nid relation to the jack abstraction layer instance. Also adds functions to set and retrieve data values for each nid, this is used in stac92xx_unsol_event to retrieve the GPIO mask for STAC_VREF_EVENT. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-27ALSA: hda: add snd_hda_get_jack* functionsMatthew Ranostay
This patch adds snd_hda_get_jack* functions for reporting jack location, device, and connectivity type. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-27ALSA: hda: dynamic jack idMatthew Ranostay
This patch duplicates the jack->id pointer with kstrdup() to prevent scoping issues from calling autoprobing functions from the HDA section. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-27ALSA: jack: lineout support to jack abstraction layerMatthew Ranostay
This patch introduces support for reporting SW_LINEOUT_INSERT detection events via the jack abstraction layer. Also adds a SND_JACK_LINEOUT define to the input system header. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Cc: Dmitry Torokhov <dtor@mail.ru> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-22ALSA: hda - correct bracketing in spdif test in patch_sigmatel.cHarvey Harrison
Noticed by sparse: sound/pci/hda/patch_sigmatel.c:1285:43: warning: dubious: !x & y Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Acked-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-21ALSA: hda - Fix conflicting volume controls on ALC260Takashi Iwai
ALC260 auto-parsing mode may create multiple controls for the same volume widget (0x08 and 0x09) depending on the pin. For example, Front and Headphone volumes may control the same volume, just the latter one wins. This patch adds a proper check of the existing of the volume control and avoid the doulbed creation of the same volume controls. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-16ALSA: hda - Release jack instance for dynamic reconfigureTakashi Iwai
The jack instance has to be release manually in free callback in patch_sigmatel.c for dynamic reconfiguration. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-16Merge branch 'topic/hda-reconfig' into topic/hda-nextTakashi Iwai
2008-10-16ALSA: hda: add support for jack detection on IDT/SigmatelMatthew Ranostay
Added support for jack detection reporting to userspace for IDT/Sigmatel codecs. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-16ALSA: hda - Fix PCM type of Nvidia HDMI devicesTakashi Iwai
Added the missing PCM type for Nvidia HDMI devices so that they point the right device number. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-15ALSA: hda - Fix quirk lists for realtek codecsKailang Yang
- Fix Toshiba S06 SSID to 1179:ff7b - Fix ASUS G50V quirk name - Add ASUS N20 quirk Signed-off-by: Kailang Yang <kailang@realtek.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-15ALSA: hda - Add support of ALC272Kailang Yang
Added the support of ALC272 codec. It's almost compatible with ALC663. Signed-off-by: Kailang Yang <kailang@realtek.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-15ALSA: hda - Add ALC887 supportKailang Yang
Added ALC887 support. It's almost compatible with ALC883/888. Signed-off-by: Kailang Yang <kailang@realtek.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-15ALSA: hda - Add ALC1200 supportKailang Yang
Add ALC1200 codec support. Almost compatible with ALC888. Signed-off-by: Kailang Yang <kailang@realtek.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-15ALSA: hda - Fix PCI SSID of ASUS M90VKailang Yang
ASUS M90V has PCI SSID 1043:1873. Corrected in the quirk list. Signed-off-by: Kailang Yang <kailang@realtek.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-15ALSA: hda - Add auto mic switch in realtek auto-probe modeKailang Yang
Add the automatic mic switch via jack sensing in auto-probe mode for Realtek codecs. Signed-off-by: Kailang Yang <kailang@realtek.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-14ALSA: hda: fix nid variable warningMatthew Ranostay
Fixed compiler warning with possible uninitialized variable 'nid'. CC [M] /home/mranostay/git/alsa-driver/pci/hda/patch_sigmatel.o /home/mranostay/git/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/patch_sigmatel.c: In function ‘stac92xx_parse_auto_config’: /home/mranostay/git/alsa-driver/pci/hda/../../alsa-kernel/pci/hda/patch_sigmatel.c:2815: warning: ‘nid’ may be used uninitialized in this function Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-13ALSA: hda - Add hints for reconfigTakashi Iwai
This patch adds the "hints" for reconfiguring codecs. The hints are simply string arrays and can be freely used/parsed by the codec patch. The hints can be input via hwdep sysfs files. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-13ALSA: hda - Add init_verbs entriesTakashi Iwai
This patch enables the additional init verbs for each codec. The verbs can be entered via hwdep sysfs file. These verbs are executed at reconfiguring the codec for non-standard setups like overriding the pin-defcfg. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-13ALSA: hda - Add sysfs entries to hwdep devicesTakashi Iwai
Added the sysfs entries to hwdep devices so that the new features like reconfiguration can be done via sysfs. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-13ALSA: hda - Add codec reconfiguration featureTakashi Iwai
Added the reconfiguration feature of any individual codec. Via the reconfiguration, the old resources are released and the patch is called again to recreate the PCM and mixers in addition to the re-initialization. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-13ALSA: hda - Manage kcontrol listsTakashi Iwai
Manage all kcontrol elements created in the hda-intel driver. This makes it possible to remove and reconfigure the controls of each codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-13ALSA: hda - Allocate name string of each codecTakashi Iwai
Allocate dynamically the name string of each codec instead of pointing to a static string. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-13ALSA: hda - Use generic array helpersTakashi Iwai
Use generic array helpers to simplify array handling in snd-hda-intel. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-13ALSA: hda - Add generic arraysTakashi Iwai
Added helper functions to handle generic arrays. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-13ALSA: hda - Add infrastructure for dynamic stream allocationTakashi Iwai
Added the infrastructure for dynamic stream allocation on HD-audio. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-13ALSA: hda: corrected invalid mixer valuesMatthew Ranostay
Corrected invalid mixer index values on the 92hd71bxxx codec branch. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-10-13ALSA: hda: add mixers for analog mixer on 92hd75xx codecsMatthew Ranostay
Add support for mixers on the analog mixer on some 92hd75xx codecs, along with adding a 'Mixer' entry for it's connection on the dmux. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>