aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-07-12ALSA: hda - Always read raw connections for proc outputTakashi Iwai3-7/+17
In the codec proc outputs, read the raw connections instead of the cached connection list, i.e. proc files contain only raw values. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-12ALSA: hda - Add snd_hda_override_conn_list() helper functionTakashi Iwai2-30/+71
Add a function to add/modify the connection-list cache entry. It'll be useful to fix a buggy hardware result. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-11ALSA: hda - Turn on extra EAPDs on Conexant codecsTakashi Iwai1-0/+39
Some machines seem to use EAPD control of the unused pin for controlling the overall EAPD. Since the driver currently doesn't check the EAPD of unused pins, the EAPD isn't enabled. For avoiding such a problem, turn all extra EAPDs on as default. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-11ALSA: hda - Preserve input pin-ctl bits in HP-automute for VIA codecTakashi Iwai1-3/+11
For smart51 pins, we need to preserve the input pin-control bits at auto-mute controls instead of overwriting zero or pin-out-only. Otherwise the VREF won't be set properly when smart51 is disabled again. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-11ALSA: hda - Set line-out pin-ctls properly when indep-HP mode changesTakashi Iwai1-10/+11
When Independent-HP mode is changed for VIA, the driver needs to re-issue the auto-mute check so that the line-out pins are set properly without influence of HP pin state. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-11ALSA: hda - Via Fix speaker-mute checks in VIA driverTakashi Iwai1-4/+1
When the line-jack is plugged/unplugged, the driver must check also the headphone jack state in addition to the line-out jack. Currently it checks only the line-out state and ignores the headphone. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-09ASoC: Conditionalize the enable of WM8994 ADC TDM modeMark Brown1-4/+12
Future devices will not benefit from this. Signed-off-by: Mark Brown <[email protected]> Acked-by: Liam Girdwood <[email protected]>
2011-07-09Merge branch 'topic/asoc' of ↵Mark Brown7-15/+361
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 into for-3.1
2011-07-09ALSA: hda - Implement 44kHz workaround for IdeadPad as fixupTakashi Iwai1-11/+22
Instead of checking the model quirk, use a fixup table for workaround of 44kHz-fixed PCM for Lenovo IdeaPad with ALC269. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-09Merge branch 'for-3.0' into for-3.1Mark Brown3-11/+11
2011-07-09ASoC: sh: fsi-hdmi: fixup snd_soc_card nameKuninori Morimoto1-2/+2
it shouldn't contain space letters and special letters like parentheses. aplay will be "Segmentation fault" without this patch special thanks to Takashi. Signed-off-by: Kuninori Morimoto <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2011-07-09ASoC: sh: fsi-da7210: fixup snd_soc_card nameKuninori Morimoto1-1/+1
it shouldn't contain space letters and special letters like parentheses. aplay will be "Segmentation fault" without this patch. special thanks to Takashi. Signed-off-by: Kuninori Morimoto <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2011-07-09ASoC: sh: fsi-ak4642: fixup snd_soc_card nameKuninori Morimoto1-8/+8
it shouldn't contain space letters and special letters like parentheses. aplay will be "Segmentation fault" without this patch. special thanks to Takashi. Signed-off-by: Kuninori Morimoto <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2011-07-09Merge branch 'fix/hda' into topic/hdaTakashi Iwai0-0/+0
Conflicts: sound/pci/hda/patch_realtek.c
2011-07-09Merge branch 'fix/asoc' into for-linusTakashi Iwai8-35/+45
2011-07-09ALSA: hda - Fix a copmile warningTakashi Iwai1-1/+1
It's harmless but annyoing. sound/pci/hda/patch_realtek.c: In function ‘alc_cap_getput_caller’: sound/pci/hda/patch_realtek.c:2722:9: warning: ‘err’ may be used uninitialized in this function Signed-off-by: Takashi Iwai <[email protected]>
2011-07-09Merge branch 'for-3.1' of ↵Takashi Iwai12-30/+976
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound-2.6 into topic/asoc
2011-07-09Merge branch 'for-3.0' into for-3.1Mark Brown3-6/+22
2011-07-09Merge branch 'for-3.0' of ↵Takashi Iwai2-27/+4
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound-2.6 into fix/asoc
2011-07-08ALSA: hda - Merge alc*_parse_auto_config() functions in patch_realtek.cTakashi Iwai1-526/+160
Now all alc*_parse_auto_config() do almost same thing except for the NID list to ignore and the PINs for SSID-check, we can merge all these to a single function. A good amount of code reduction. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-08ALSA: hda - Merge ALC260 auto-parser codeTakashi Iwai1-142/+11
Finally the last one. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-08ALSA: hda - Merge ALC269 parser codeTakashi Iwai1-114/+10
One more code reduction. This codec has less DACs, thus the wiring to DAC can't be filled uniquely for all output pins, i.e. some outputs share the same volume control. Except for that, all seems working fine. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-08ALSA: hda - Merge ALC268/269 auto-parser codesTakashi Iwai1-239/+26
Now coming to ALC268/269 parser codes. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-08ALSA: hda - Merge ALC861 auto-parser codeTakashi Iwai1-187/+8
Merge more auto-parser code in patch_realtek.c, now for ALC861. The topology of this codec is pretty simple, and can be parsed well by the current starndard parser. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-08ALSA: hda - Fix amp-cap checks in patch_realtek.cTakashi Iwai1-12/+22
query_amp_caps() may return non-zero if the amp cap isn't supported by the codec. Thus one needs to check widget-caps first, then check the corresponding amp-caps. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-08ALSA: hda - Merge ALC861-VD auto-parse to the standard parserTakashi Iwai1-138/+3
The existing standard auto-parser can work well with this codec, too. Let's merge. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-08ALSA: hda - Fix auto-mic detection in Realtek codec-parserTakashi Iwai1-1/+1
A regression fix from commit 21268961d3d1bbdd22a19b68adb80119e8c72dcd ALSA: hda - More flexible dynamic-ADC switching for Realtek codecs The auto-mic wasn't detected properly when no ADC-switch is needed. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-08ALSA: hda - Fix output-path of VT1812 codecLydia Wang1-0/+1
For VT1812, add dac_mixer_idx for initialization. Signed-off-by: Lydia Wang <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2011-07-08ALSA: hda - Fix Oops in smart51 parsing in VIA codecTakashi Iwai1-1/+1
Typical off-by-one thinko. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-08ALSA: hda - Provide the standard auto_init for Realtek codecsTakashi Iwai1-84/+21
Remove redundant definitions. Ideally, all init functions should be identical in future. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-08ALSA: hda - Merge ALC680 auto-parser to the standard parserTakashi Iwai1-141/+90
Improved the standard Realtek auto-parser to support the codec topology like ALC680. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-08ALSA: hda - Add a fix-up for HP RP5800Takashi Iwai1-0/+11
The BIOS provides bogus pin configs, and also invalid SSID. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-08ALSA: pcmcia - Use pcmcia_request_irq()Takashi Iwai2-2/+2
The drivers don't require the exclusive irqs. Let's fix the deprecated warnings. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-08ALSA: usb-audio: replace "void *" with more specific pointersPavel Roskin1-8/+8
Signed-off-by: Pavel Roskin <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2011-07-08ALSA: hda - Fix Independent-HP detection on VT2002P/1802/1812 codecsLydia Wang1-0/+6
For VT2002P, VT1802 and VT1812 codecs, to create Independent HP control. Signed-off-by: Lydia Wang <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2011-07-08ALSA: hda - Fix DAC checks for VT2002P/1802/1812 codecsLydia Wang1-3/+11
For VT2002P, VT1802 and VT1812 codecs, there're only two DACs. So smart51 control shouldn't be created. Signed-off-by: Lydia Wang <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2011-07-08ALSA: hda - Fix VIA output-path init for VT2002P/1802/1812Lydia Wang1-37/+67
For VT2002P, VT1802 and VT1812 codecs, the original activate_output_path() function can't initialize output and hp path correctly, since mixers connected to output pin widgets are not considered. So modify the activate_output_path() function to satisify this kind of codec. Signed-off-by: Lydia Wang <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2011-07-07Merge branch 'for-3.0' into for-3.1Mark Brown1-1/+1
2011-07-07ASoC: pxa2xx-pcm: remove unused variable 'dai'Axel Lin1-1/+0
Remove unused variable 'dai' to eliminate below warning. CC sound/soc/pxa/pxa2xx-pcm.o sound/soc/pxa/pxa2xx-pcm.c: In function 'pxa2xx_soc_pcm_new': sound/soc/pxa/pxa2xx-pcm.c:91: warning: unused variable 'dai' Signed-off-by: Axel Lin <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2011-07-07ASoC: ak4642: fixup snd_soc_update_bits mask for PW_MGMT2Kuninori Morimoto1-1/+1
mask didn't cover update-data Signed-off-by: Kuninori Morimoto <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
2011-07-07ALSA: hda - Split quirk codes from patch_realtek.cTakashi Iwai13-13921/+14124
Put the all static quirk codes out of patch_realtek.c, split into the file for each codec model. For controlling the build of quirk codes, a new Kconfig, CONFIG_SND_HDA_ENABLE_REALTEK_QUIRKS is introduced. By setting this off, all quirk codes won't be built, thus you can save lots of memory. The codes in patch_realtek.c are also shuffled and more comments are given, but the contents aren't changed. This is just a refactoring. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-07ALSA: hda - Use common paser for digital I/O for ALC260Takashi Iwai1-2/+2
Avoid open-codes. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-07ALSA: hda - More flexible dynamic-ADC switching for Realtek codecsTakashi Iwai1-486/+429
This patch changes the auto-parser and the auto-mic handling codes to allow more flexible dynamic ADC-switching with Realtek codecs. In the new code, the following strategy is taken: - When a cap-src can't handle all input-sources, either skip it, or switch to the ADC-switching mode. In ADC-switching mode, like the former dual-ADC mode for ALC275, it changes ADC on the fly according to the current input source. - When auto-mic is possible, always assign imux. If the mic pins are set statically via a quirk, rebuild imux according to the pins. In the auto-mic mode, the driver always changes the imux (although the imux isn't exposed as a mixer element). Signed-off-by: Takashi Iwai <[email protected]>
2011-07-07ALSA: hda - Fix warning with ALC882 digital-out detectionTakashi Iwai1-1/+3
The digital out pin on ALC882 may have multiple connections. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-07ALSA: hda - Clean-up PCM assignments in patch_realtek.cTakashi Iwai1-171/+58
Instead of assigning each default hda_pcm_stream pointers, do NULL-checks and assign default values in alc_build_pcms(). Signed-off-by: Takashi Iwai <[email protected]>
2011-07-07ALSA: hda - Unify alc*_auto_init_input_src() in patch_realtek.cTakashi Iwai1-45/+17
The only different implmentation was alc880_auto_init_input_src(), and now it covers this variant, and we can use the single function for all codecs. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-07ALSA: hda - Parse ADCs and CAPSRCs dynamically for Realtek auto-parserTakashi Iwai1-192/+131
Now with the new code for looking for ADCs and MUXs, we can replace the whole ADC assignment with the parsed results. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-07ALSA: hda - Unify alc_auto_init_analog_input() callsTakashi Iwai1-23/+11
All alc*_auto_init_analog_input() calls are identical, so let's use the same function more clearly without aliases. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-07ALSA: hda - Parse ADCs in alc_auto_create_input_ctls()Takashi Iwai1-74/+67
Parse ADCs and cap-srcs in alc_auto_create_input_ctls() by itself instead of passing explicitly from the caller. By this change, all alc*_auto_create_input_ctls() can be unified to the same calls. Signed-off-by: Takashi Iwai <[email protected]>
2011-07-07ALSA: hda - Code consolidation for ALC88x and ALC662 auto-parsersTakashi Iwai1-353/+75
Use the same common code for auto-parsing the output paths and their initializations, based on the existing ALC662 code, which is smarter than the old ALC880/2 code. Signed-off-by: Takashi Iwai <[email protected]>