aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-06-28ALSA: atmel - update author email for ABDAC, AC97C and AT73C213Hans-Christian Egtvedt3-3/+3
This patch updates the email address of the sound drivers supported by me to an email account I will use on a more regular basis in the future. Signed-off-by: Hans-Christian Egtvedt <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2011-06-28ALSA: HDA: Add model=auto quirk for Acer Aspire 3830TGDavid Henningsson1-0/+1
Since we're not using the new auto parser as a fallback yet, add it manually as a quirk. Signed-off-by: David Henningsson <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2011-06-28ALSA: HDA: Add a new Conexant codec ID (506c)David Henningsson1-0/+3
Conexant ID 506c was found on Acer Aspire 3830TG. As users report no playback, sending to stable should be safe. Cc: [email protected] BugLink: https://bugs.launchpad.net/bugs/783582 Reported-by: andROOM Signed-off-by: David Henningsson <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2011-06-28ALSA: hda - Fix warnings with CONFIG_SND_POWER_SAVE=nTakashi Iwai1-4/+2
Use static inline for dummy function to fix the warnings like below sound/pci/hda/patch_sigmatel.c: In function ‘stac92xx_init’: sound/pci/hda/patch_sigmatel.c:4387:3: warning: statement with no effect sound/pci/hda/patch_sigmatel.c: In function ‘stac92xx_resume’: sound/pci/hda/patch_sigmatel.c:4927:3: warning: statement with no effect Signed-off-by: Takashi Iwai <[email protected]>
2011-06-28ALSA: hda - remove SND_HDA_POWER_SAVE protection of struct hda_loopback_checkStephen Rothwell1-2/+0
to fix build problems when it is disabled. Signed-off-by: Stephen Rothwell <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2011-06-27ALSA: hda - More volume-init fixes for ALC267 codecTakashi Iwai1-3/+13
More similar fixes like previous commits: handle the exceptional case like ALC267 where no volume amp is found in ADC widget but in the capsrc widget instead. Also minor checks for avoiding possible erros: no connection-select when the pin has a single selection, and add beep verbs only when the 0x1d is used for beep. Signed-off-by: Takashi Iwai <[email protected]>
2011-06-27ALSA: hda - Fix volume-init for ALC259 with invalid widget capsTakashi Iwai1-9/+7
ALC259 seems to provide an invalid widget capability for the input-src selector widget. The widget shows the input-amp while it's a selector, and this confuses the current ALC882 initialization code that is used for ALC259, too. For fixing this, check the amp capability and handle the connection selection individually. Also, ALC259 has no mute bit in DAC volume, so we need to initialize it as ZERO instead of MUTE. Signed-off-by: Takashi Iwai <[email protected]>
2011-06-27ALSA: hda - Fix volume-init of ALC299 & coTakashi Iwai1-9/+20
ALC269 and compatible codecs have the output volume in DACs, thus we can't use the ALC880's code as is. Fixed by checking the amp caps and picking up the right widget for initialization. Signed-off-by: Takashi Iwai <[email protected]>
2011-06-27ALSA: hda - Simplify EAPD control in patch_realtek.cTakashi Iwai1-23/+7
Look through the known NIDs that may have EAPD capabilities and turn on/off them appropriately instead of checking the individual vendor ids. This will also avoid the forgotten entries of newly added codec ids in future. Signed-off-by: Takashi Iwai <[email protected]>
2011-06-27ALSA: hda - Fix auto-init of output volumes of Realtek codecsTakashi Iwai1-33/+31
Fix the regression introduced by the commit 1f0f4b8036b1fe1347cb4f1f199601b87de9be46 ALSA: hda - Reduce static init verbs for Realtek auto-parsers The input amps of mixer widgets should be unmuted as default (as usually they have no assigned mixer switches). More fixes in this commit are, however, for ALC260: ALC260 codec can have multiple output mixers connnected to a single DAC althouh the driver didn't pick up them properly. Signed-off-by: Takashi Iwai <[email protected]>
2011-06-27Merge branch 'topic/via-cleanup' into topic/hdaTakashi Iwai1-4246/+1510
2011-06-27ALSA: hda - Check hard-wired DACs at first for ALC662 & coTakashi Iwai1-31/+81
Some Realtek codecs have the output pins hardwired with certain DACs. These DACs have to be assigned at first and assign the rest for multi-DAC pins so that all DACs can be assigned properly. Without such an optimization, speaker outputs may be assigned to the same DAC as the headphone or others. Signed-off-by: Takashi Iwai <[email protected]>
2011-06-27ALSA: hda - Call proper DAC-filler function for Realtek auto-parserTakashi Iwai1-19/+23
In alc_auto_add_multi_channel_mode(), when the primary HP workaround is enabled, it re-initializes the DAC list but calls alc662's function in a fixed way. This isn't pretty suitable for other codecs, of course. Now we call it with fill_dac function pointer so that the proper function can be called at that point. Signed-off-by: Takashi Iwai <[email protected]>
2011-06-27ALSA: hda - Reduce static init verbs for Realtek auto-parsersTakashi Iwai1-361/+140
Instead of using fixed init verbs, initialize DACs, ADCs and mixers more dynamically for Realtek auto-parsers. Signed-off-by: Takashi Iwai <[email protected]>
2011-06-26ASoC: SAMSUNG: Add idma related register definitionSangbeom Kim1-0/+20
This patch add idma related register definitions to support idma. Signed-off-by: Sangbeom Kim <[email protected]> Acked-by: Jassi Brar <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2011-06-26ASoC: SAMSUNG: Move I2S common register definitionSangbeom Kim2-103/+124
I2S registers can be used for control idma. Previously, register is defined in i2s.c. For sharing the registers, It is moved to i2s-regs.h Signed-off-by: Sangbeom Kim <[email protected]> Acked-by: Jassi Brar <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2011-06-26ASoC: SAMSUNG: Add WM8994 PCM Machine driverSangbeom Kim3-0/+186
This patch add WM8994 PCM machine driver to support PCM audio on SMDKV310, SMDKC210 boards. Playback and Capture supports 8kHz sampling rates. and It is tested on SMDKV310, SMDKC210. Signed-off-by: Sangbeom Kim <[email protected]> Acked-by: Jassi Brar <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2011-06-25ALSA: hda - Add snd_hda_get_conn_list() helper functionTakashi Iwai2-24/+47
Add a new helper function snd_hda_get_conn_list(). Unlike snd_hda_get_connections(), this function doesn't copy the connection-list but gives the raw pointer for the cached list. Signed-off-by: Takashi Iwai <[email protected]>
2011-06-25ALSA: lx6464es - include mac address in device nameTim Blechmann4-16/+23
each device has a unique mac address, which can be used to distinguish multiple devices in the same machine. we therefore include the full mac address in the device shortname and the last 6 bytes in the device id. Signed-off-by: Tim Blechmann <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2011-06-24ALSA: lola - Fix for Lola280 boardMarkus Bollinger2-38/+94
- add/fix comments and debug messages - fix incomplete matrix init - comment out creation of buggy lola_dest_gain_mixer controls - minor optimisations Signed-off-by: Markus Bollinger <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2011-06-24Merge branch 'fix/asoc' into for-linusTakashi Iwai6-15/+6
2011-06-24ALSA: Remove unneeded version.h includes from sound/Jesper Juhl2-2/+0
In the sound/ directory there are two files (flagged by 'make versioncheck'); sound/pci/asihpi/asihpi.c and sound/soc/codecs/wm8991.c that include linux/version.h although they don't need it. This patch removes the unneeded includes. Signed-off-by: Jesper Juhl <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2011-06-24ALSA: hda - Use alc_get_pfx_name() for all Realtek codecsTakashi Iwai1-14/+6
Signed-off-by: Takashi Iwai <[email protected]>
2011-06-24ALSA: hda - Clean up multi-channel mixer name assignment in patch_realtek.cTakashi Iwai1-56/+36
Change alc_get_line_out_pfx() in patch_realtek.c to provide the channel specific name and assign the index so that each caller doesn't have to set the channel name by itself. Also, check the multi-io case with the primary hp-out; for the multi-io channels, assign the channel name instead of "Headphone" with indices. This makes the mixer names more intuitive and reduces confusion. Signed-off-by: Takashi Iwai <[email protected]>
2011-06-24ALSA: hda - Add a workaround for invalid line-out setupsTakashi Iwai1-3/+12
Some BIOS set up the pin config wrongly as line-out although it's supposed to be a speaker out. In most cases, though, we can judge the validity by checking the connection type -- when it's FIXED, mostly it's an invalid line-out but a speaker. Signed-off-by: Takashi Iwai <[email protected]>
2011-06-24Merge branch 'fix/hda' into topic/hdaTakashi Iwai7-19/+50
2011-06-24ALSA: hda - Allow multi-io with HP output for ALC662 & coTakashi Iwai1-1/+16
Even if the machine has no line-out but only HP-out, try to detect the multi-io. It'll allow more possibilities for 5.1 outputs on laptops. Signed-off-by: Takashi Iwai <[email protected]>
2011-06-23Merge branch 'for-3.0' into for-3.1Mark Brown4-10/+5
2011-06-23ASoC: pxa-ssp: Correct check for stream presenceDaniel Mack1-2/+2
Don't rely on the codec's channels_min information to decide wheter or not allocate a substream's DMA buffer. Rather check if the substream itself was allocated previously. Signed-off-by: Daniel Mack <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
2011-06-23ASoC: imx: add missing module informationsArnaud Patard (Rtp)2-1/+3
- add some modules aliases - add module license to avoid tainted kernel when loading the imx-pcm-audio driver Signed-off-by: Arnaud Patard <[email protected]> Acked-by: Sascha Hauer <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2011-06-23ASoC: imx: Remove unused Kconfig SND_MXC_SOC_SSI entryArnaud Patard (Rtp)1-7/+0
SND_MXC_SOC_SSI looks to be unused, so kill it. Signed-off-by: Arnaud Patard <[email protected]> Acked-by: Sascha Hauer <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2011-06-23ASoC: Add basic WM8918 supportMark Brown1-0/+1
The WM8918 is register compatible with the WM8904 with a subset of the functionality. Add the device ID, a subsequent patch will ensure that only the relevant functionality is exported to userspace. Signed-off-by: Mark Brown <[email protected]> Acked-by: Liam Girdwood <[email protected]>
2011-06-23ASoC: Allow suppression of series updates on wm_hubs devicesMark Brown2-1/+2
Some devices do not support manual updates of the DC servo. Signed-off-by: Mark Brown <[email protected]> Acked-by: Liam Girdwood <[email protected]>
2011-06-23ASoC: Trigger wm_hubs series update startup off a separate flagMark Brown4-2/+4
Allowing the two to be used independently. Signed-off-by: Mark Brown <[email protected]> Acked-by: Liam Girdwood <[email protected]>
2011-06-23ALSA: HDA: Pinfix quirk for HP Z200 WorkstationDavid Henningsson1-0/+11
BIOS lists the internal speaker as an internal line-out. Change to internal speaker + model=auto for better auto-mute capabilities. BugLink: http://bugs.launchpad.net/bugs/754964 Reported-by: Marc Legris <[email protected]> Signed-off-by: David Henningsson <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2011-06-22ASoC: add WM8782 ADC Codec DriverJohannes Stezenbach3-0/+86
Signed-off-by: Johannes Stezenbach <[email protected]> [[email protected]: transform to new ASoC structure] Signed-off-by: Daniel Mack <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2011-06-22ASoC: add STA32X codec driverJohannes Stezenbach4-0/+993
Signed-off-by: Johannes Stezenbach <[email protected]> [[email protected]: transform to new ASoC structure] Signed-off-by: Daniel Mack <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2011-06-22ALSA: hda - Implement dynamic-ADC switching for VIA codecsTakashi Iwai1-125/+391
Some VIA codecs like VT1702 provide the input-route only to specific ADCs such as digital-mic inputs. These routes aren't covered by the normal primary ADC, and for now, user had to open the capture stream assigned to that special ADC manually for using such inputs. This patch implements a way to switch the current ADC dynamically per the input-source selection in such a case. When this workaround is activated, the driver provides only one capture stream and one input- source control but with the full possible inputs. The driver switches the ADC to be used (or being used) according to the input-source on the fly. Signed-off-by: Takashi Iwai <[email protected]>
2011-06-22ASoC: codecs: Max98095: Fix logging of hardware revision.Taylor Hutt1-4/+4
The base hardware revision of the Maxim 98095 part is 0x40; the code which outputs the revision of the hardware has been updated to properly use uppercase alphabetic values for the revision numbers. Also, the use of a constant for the length 'max98095_dai' has been replaced with ARRAY_SIZE(). Signed-off-by: Taylor Hutt <[email protected]> Acked-by: Peter Hsiang <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2011-06-21ALSA: hda - Auto-mute smart51 surround pins for VIA codecsTakashi Iwai1-23/+8
When smart51 mode is enabled, auto-mute these surround outputs as well as the primary line-out. Also this patch includes minor clean-ups. Signed-off-by: Takashi Iwai <[email protected]>
2011-06-21ALSA: hda - Remove redundant VT1709 and VT1708B codesTakashi Iwai1-67/+19
Unify the VT1709 10ch and 6ch parsers, as well as VT1708B 8ch and 4ch parsers. They have no difference now. Signed-off-by: Takashi Iwai <[email protected]>
2011-06-21ALSA: hda - VT1708 independent HP routing fixTakashi Iwai1-100/+122
The codecs like VT1708 needs more complicated routing using the mixer widget rather than the simple selector widgets. Signed-off-by: Takashi Iwai <[email protected]>
2011-06-21ALSA: hda - Fix surround-volume parsing for VT1708B codecsTakashi Iwai1-3/+16
The surround/CLFE/side DACs on VT1708B and co have no amp but the connected selector widgets have the amp instead. Fix the parser to check these selector widgets for the possible mixer controls as well. Signed-off-by: Takashi Iwai <[email protected]>
2011-06-21ALSA: hda - Fix the check of loopback-mixer element index in patch_via.cTakashi Iwai1-2/+4
Fix the check of the multiple loopback-mixer, which gave sometimes a wrong index assigned to an element even for different names, e.g. Mic and Front Mic. Now check the label properly for avoid duplication. Reported-by: David Henningsson <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2011-06-21ALSA: hda - Assign smart51 only in the same stack for VIA codecsTakashi Iwai1-33/+30
The input jacks assigned as the smart51 outputs must be in the same stack, either rear, front or other. Also, prefer line-in as the surround to mic-in. Signed-off-by: Takashi Iwai <[email protected]>
2011-06-21ALSA: hda - Fix re-routing of HP-independent mode in patch_via.cTakashi Iwai1-41/+60
Re-route the whole output path when HP-independent mode is changed. Signed-off-by: Takashi Iwai <[email protected]>
2011-06-21ALSA: hda - Fix creations of playback volume controls in patch_via.cLydia Wang1-1/+1
Fix a issue to create playback volume control if pin has amplifier capability but not DAC. Signed-off-by: Lydia Wang <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2011-06-21ALSA: hda - Revisit output_path parsing in patch_via.cTakashi Iwai1-37/+50
Change the order of the output-path list in a way from the DAC to the target pin. Also now the list include the target pin, too. Together with this format change, simplify the arguments of parse_output_path() function, and fix the initialization in via_auto_init_output(). Signed-off-by: Takashi Iwai <[email protected]>
2011-06-21ALSA: hda - Use xxx Boost Volume for VIATakashi Iwai1-1/+1
Drop "Capture" prefix from the mic-boost names. Otherwise some control names can overflow the max name length. Signed-off-by: Takashi Iwai <[email protected]>
2011-06-21ALSA: hda - Fix a compile error in patch_ca0132.c for the recent SPDIF changeTakashi Iwai1-1/+2
Signed-off-by: Takashi Iwai <[email protected]>