aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-05-17ALSA: hda - Use is_jack_detectable() helperTakashi Iwai2-11/+7
Replaced the open-code with the new helper function. Signed-off-by: Takashi Iwai <[email protected]>
2011-05-17ALSA: hda - Add automute-mode enum to Conexant auto-parserTakashi Iwai2-49/+215
Implement the same functionality as Realtek's auto-mute mode control. Now Conexant auto-parser can also mutes line-out and provide the enum control for different automute behavior. Signed-off-by: Takashi Iwai <[email protected]>
2011-05-17ALSA: hda - Add missing Front/Surround/CLFE as slaves for Cxt auto-parserTakashi Iwai1-0/+6
Signed-off-by: Takashi Iwai <[email protected]>
2011-05-17ALSA: hda - Code refactoring in patch_conexant.cTakashi Iwai1-30/+34
Use a struct instead of each array for managing input-source info for auto-parser. Signed-off-by: Takashi Iwai <[email protected]>
2011-05-16ASoC: Silence DEBUG_STRICT_USER_COPY_CHECKS=y warningStephen Boyd1-1/+1
Enabling DEBUG_STRICT_USER_COPY_CHECKS causes the following warning: In file included from arch/x86/include/asm/uaccess.h:573, from include/linux/poll.h:14, from include/sound/pcm.h:29, from include/sound/ac97_codec.h:31, from sound/soc/soc-core.c:34: In function 'copy_from_user', inlined from 'codec_reg_write_file' at sound/soc/soc-core.c:252: arch/x86/include/asm/uaccess_64.h:65: warning: call to 'copy_from_user_overflow' declared with attribute warning: copy_from_user() buffer size is not provably correct presumably due to buf_size being signed causing GCC to fail to see that buf_size can't become negative. Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2011-05-16ASoC: Fix wrong data type access in a few codec driversJarkko Nikula5-7/+12
Commit fafd217 ("ASoC: Store a list of widgets in a DAPM mux/mixer kcontrol") changed the control private data type that is passed to snd_soc_cnew when creating dapm mixer and mux controls. Commit did not update a few codec drivers that are using their own put callbacks and thus are accessing a wrong data type. Signed-off-by: Jarkko Nikula <[email protected]> Tested-by: Stephen Warren <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2011-05-16ASoC: Don't restart an already running WM8958 DSP2Mark Brown1-0/+4
Don't want to upset the DSP. Signed-off-by: Mark Brown <[email protected]> Acked-by: Liam Girdwood <[email protected]> Cc: [email protected]
2011-05-16ASoC: Skip noop reconfiguration of WM8958 DSP2 algorithmsMark Brown1-0/+19
If we're setting the currently applied value for one of the DSP algorithm configurations we can just skip all the handling as the control set is a noop. This ensures we do not disrupt a running DSP. Signed-off-by: Mark Brown <[email protected]> Acked-by: Liam Girdwood <[email protected]> Cc: [email protected]
2011-05-16ASoC: Add some missing volume update bit sets for wm_hubs devicesMark Brown1-2/+6
Signed-off-by: Mark Brown <[email protected]> Acked-by: Liam Girdwood <[email protected]> Cc: [email protected]
2011-05-16ASoC: Ensure output PGA is enabled for line outputs in wm_hubsMark Brown1-8/+8
Also fix a left/right typo while we're at it. Signed-off-by: Mark Brown <[email protected]> Acked-by: Liam Girdwood <[email protected]. Cc: [email protected]
2011-05-16ALSA: HDA: Use one dmic only for Dell Studio 1558David Henningsson1-1/+1
There are no signs of a dmic at node 0x0b, so the user is left with an additional internal mic which does not exist. This commit removes that non-existing mic. Cc: [email protected] (2.6.32+) BugLink: http://bugs.launchpad.net/bugs/731706 Reported-by: James Page <[email protected]> Signed-off-by: David Henningsson <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2011-05-16ALSA: hda - Add support of auto-parser to cxt5066 codecsTakashi Iwai1-2/+11
Still experimental. Not enabled as default unless model=auto is passed. Signed-off-by: Takashi Iwai <[email protected]>
2011-05-16ALSA: hda - Don't create multiple same volume/boost controls in Cxt auto-parserTakashi Iwai1-2/+13
Check the routing more exactly for avoiding the duplicated controls for the very same effect for multiple capture routes in Conexant auto-parser. Signed-off-by: Takashi Iwai <[email protected]>
2011-05-16ALSA: hda - Build boost controls from selector widget in Cxt auto-parserTakashi Iwai1-18/+61
When the intermediate selector widget in the capture path provides the boost volume, create the corresponding volume control. Signed-off-by: Takashi Iwai <[email protected]>
2011-05-15ASoC: codecs: max98088: Added digital mute function in DAI1 and DAI2Jin Park2-0/+45
Added digital mute function in DAI1 and DAI2. Signed-off-by: Jin Park <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2011-05-15ASoC: codecs: max98088: Moved the EX Limiter Mode from dapm widget to controlJin Park1-5/+1
Moved the EX Limiter Mode from dapm widget to control, because it was not required DAPM route. Signed-off-by: Jin Park <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2011-05-15ASoC: codecs: max98088: Fixed invalid register definitions in mixer controlsJin Park1-12/+12
Fixed invalid register definitions in mixer controls such as left speaker mixer, left hp mixer and left rec mixer. Signed-off-by: Jin Park <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2011-05-15ASoC: Reintroduce do_spi_write()Mark Brown1-1/+15
There is an unfortunate difference in return values between spi_write() and i2c_master_send() so we need an adaptor function to translate. Reported-by: Lars-Peter Clausen <[email protected]> Signed-off-by: Mark Brown <[email protected]> Acked-by: Liam Girdwood <[email protected]>
2011-05-15ALSA: hda - Don't use auto-parser for cxt5045 / 5051 as defaultTakashi Iwai1-0/+4
Just for safety reason (for avoiding any possible regressions), don't enable auto-parser as default for cxt5045 and 5051, as well as 5047. Signed-off-by: Takashi Iwai <[email protected]>
2011-05-15ALSA: hda - Enable codec->pin_amp_workaround always for Conexant auto-parserTakashi Iwai1-11/+1
It can (must for some) be used for all Conexnat codecs safely. Signed-off-by: Takashi Iwai <[email protected]>
2011-05-15ALSA: hda - Search ADC NIDs dynamically in Conexant auto-parserTakashi Iwai1-14/+26
Instead of giving fixed arrays, look for ADC nids dynamically in the tree in Conexant auto-parser code. Signed-off-by: Takashi Iwai <[email protected]>
2011-05-15ALSA: fm801: clean-up radio-related KconfigOndrej Zary2-7/+6
Remove TEA575X_RADIO define from fm801.c. Also update Kconfig help text to include all supported cards. Signed-off-by: Ondrej Zary <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2011-05-13ALSA: tea575x: use better card and bus namesOndrej Zary4-2/+9
Provide real card and bus_info instead of hardcoded values. Signed-off-by: Ondrej Zary <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2011-05-13ALSA: tea575x: remove unused card from structOndrej Zary3-3/+0
struct snd_card *card is present in struct snd_tea575x but never used. Remove it. Signed-off-by: Ondrej Zary <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2011-05-13ALSA: tea575x: remove freq_fixup from structOndrej Zary4-7/+6
freq_fixup is a constant, no need to hold it in struct snd_tea575x and set in each driver. Signed-off-by: Ondrej Zary <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2011-05-13ALSA: hda - Add support of auto-parser to cxt5047 / CX20551 WaikikiTakashi Iwai1-3/+18
Similarly like other Conexant codecs, now model=auto is supported for cxt5047. But the auto-parser mode isn't activated as default yet, since BIOS pin-configs seem often broken on machines with this codec. User need to pass model=auto explicitly. Signed-off-by: Takashi Iwai <[email protected]>
2011-05-13ALSA: hda - Parse more deep input-source routes in Conexant auto-parserTakashi Iwai1-21/+52
Handle not only a single-depth input-route but two-level depth routes (PIN->MUX->ADC), too. Signed-off-by: Takashi Iwai <[email protected]>
2011-05-13ALSA: hda - Clean up input-mux handling in Conexant auto-parserTakashi Iwai1-9/+10
Keep the registered input-pins in imux_pins[], and fix the inconsistent use of sepc->auto_mic_ext. Signed-off-by: Takashi Iwai <[email protected]>
2011-05-13ALSA: hda - Add auto-parser support to cxt5045 / CX20549 VeniceTakashi Iwai1-19/+65
Signed-off-by: Takashi Iwai <[email protected]>
2011-05-13ALSA: hda - Add auto-parser support to cxt5051 / CX20561 HermosaTakashi Iwai1-62/+217
Extend the existing auto-parser for CX2064x for cxt5051 codec. Now the auto-parser supports ADC-switching for this codec. Signed-off-by: Takashi Iwai <[email protected]>
2011-05-13ALSA: hda - Check AMP CAP at initialization of Conexant auto-parserTakashi Iwai1-8/+20
Some codecs have no mute caps in audio I/O widgets. Signed-off-by: Takashi Iwai <[email protected]>
2011-05-13ALSA: hda - Turn on EAPD dynamically per jack plug in Conexant auto modeTakashi Iwai1-8/+17
Instead of keeping always EAPD on, turn on/off appropriately at jack plugging in Conexant auto-parser mode. Signed-off-by: Takashi Iwai <[email protected]>
2011-05-13ALSA: hda - Fix auto-mic for CX2064x codecsTakashi Iwai1-4/+4
The wrong id is assigned for external/internal mics in the auto-mic selection parser. Signed-off-by: Takashi Iwai <[email protected]>
2011-05-13ASoC: omap-mcbsp: Remove restrictive checks for cpu typeSanjeev Premi1-2/+2
Current checks for cpu type were too restrictive leading to failures for other silicons in same family. The problem was found while testing audio playback on AM37x and AM35x processors. But should exist on OMAP36xx as well. Signed-off-by: Sanjeev Premi <[email protected]> cc: Mark Brown <[email protected]> cc: Liam Girdwood <[email protected]> cc: Jarkko Nikula <[email protected]> Acked-by: Jarkko Nikula <[email protected]> Acked-by: Peter Ujfalusi <[email protected]> Acked-by: Mark Brown <[email protected]> Signed-off-by: Liam Girdwood <[email protected]>
2011-05-13ASoC: omap-pcm: Period wakeup disabling on OMAP2+Peter Ujfalusi1-2/+3
Allow disabling ALSA period wakeup interrupts. This can only be done on OMAP2+ (2/3/4), since there we can chain the DMA. Signed-off-by: Peter Ujfalusi <[email protected]> Acked-by: Mark Brown <[email protected]> Acked-by: Jarkko Nikula <[email protected]> Signed-off-by: Liam Girdwood <[email protected]>
2011-05-13MAINTAINERS: ASoC and Regulator email address change.Liam Girdwood1-2/+2
Update my email address to new employer. Acked-by: Mark Brown <[email protected]> Signed-off-by: Liam Girdwood <[email protected]>
2011-05-13ASoC: twl6040 - fix LINEGAIN volume controlLiam Girdwood1-3/+3
Fix the TWL6040 LINEGAIN volume control to match the TRM. Acked-by: Mark Brown <[email protected]> Signed-off-by: Liam Girdwood <[email protected]>
2011-05-12ASoC: DMIC codec - Add input widgetMisael Lopez Cruz1-1/+25
Digital microphones can have some additional elements in their audio path (like microphone bias). An input widget is required for digital microphone CODEC driver to allow external connections in machine drivers. Signed-off-by: Misael Lopez Cruz <[email protected]> Signed-off-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2011-05-12ASoC: core - allow ASoC more flexible machine nameLiam Girdwood2-2/+6
Allow ASoC machine drivers to register a driver name and a longname. This allows user space to determine the flavour of machine driver. Signed-off-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2011-05-11ASoC: fix wm8958-dsp2 printk format warningsRandy Dunlap1-3/+3
Fix printk format warnings in wm8958-dsp2.c: sound/soc/codecs/wm8958-dsp2.c:103: warning: format '%d' expects type 'int', but argument 4 has type 'size_t' sound/soc/codecs/wm8958-dsp2.c:111: warning: format '%d' expects type 'int', but argument 3 has type 'size_t' sound/soc/codecs/wm8958-dsp2.c:144: warning: format '%d' expects type 'int', but argument 5 has type 'size_t' Signed-off-by: Randy Dunlap <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2011-05-11MAINTAINERS: Update e-mail address for asoc/twl4030Peter Ujfalusi1-1/+1
Signed-off-by: Peter Ujfalusi <[email protected]> Acked-by: Mark Brown <[email protected]> Signed-off-by: Liam Girdwood <[email protected]>
2011-05-11ASoC: RX51: Update e-mail addressPeter Ujfalusi1-1/+1
Signed-off-by: Peter Ujfalusi <[email protected]> Acked-by: Mark Brown <[email protected]> Acked-by: Jarkko Nikula <[email protected]> Signed-off-by: Liam Girdwood <[email protected]>
2011-05-11ASoC: omap-pcm: Update e-mail addressPeter Ujfalusi2-2/+2
Signed-off-by: Peter Ujfalusi <[email protected]> Acked-by: Mark Brown <[email protected]> Acked-by: Jarkko Nikula <[email protected]> Signed-off-by: Liam Girdwood <[email protected]>
2011-05-11ASoC: omap-mcbsp: Update e-mail addressPeter Ujfalusi2-2/+2
Signed-off-by: Peter Ujfalusi <[email protected]> Acked-by: Mark Brown <[email protected]> Acked-by: Jarkko Nikula <[email protected]> Signed-off-by: Liam Girdwood <[email protected]>
2011-05-11ASoC: tpa6130a2: Update e-mail addressPeter Ujfalusi3-4/+4
Signed-off-by: Peter Ujfalusi <[email protected]> Acked-by: Mark Brown <[email protected]> Signed-off-by: Liam Girdwood <[email protected]>
2011-05-11ASoC: tlv320dac33: Update e-mail addressPeter Ujfalusi3-4/+4
Signed-off-by: Peter Ujfalusi <[email protected]> Acked-by: Mark Brown <[email protected]> Signed-off-by: Liam Girdwood <[email protected]>
2011-05-11ASoC: Disable WM8994/58 microphone detection over suspendMark Brown1-0/+25
It will be non-functional with the basises and clocks off anyway, if the system needs microphone detection enabled over suspend then it should be causing the CODEC to ignore suspend using the APIs for that to prevent the biases being disabled. Signed-off-by: Mark Brown <[email protected]> Acked-by: Liam Girdwood <[email protected]>
2011-05-11ASoC: Use spi_write() for SPI writesMark Brown1-128/+4
do_spi_write() is just an open coded copy of do_spi_write() so we can delete it and just call spi_write() directly. Indeed, as a result of recent refactoring all the SPI write functions are just very long wrappers around spi_write() which don't add anything except for some pointless copies so we can just use spi_write() as the hw_write operation directly. It should be as type safe to do this as it is to do the same thing with I2C and it saves us a bunch of code. Signed-off-by: Mark Brown <[email protected]> Acked-by: Liam Girdwood <[email protected]>
2011-05-11ASoC: Remove byte swap in 4x12 SPI writeMark Brown1-6/+5
snd_soc_4_12_spi_write() contains a byte swap. Since this code was written for an Analog CODEC on a Blackfin reference board it appears that this is done because while Blackfin is little endian the CODEC is big endian (as are most CODECs). Push this up into the generic 4x12 write function and use cpu_to_be16() to do the byte swap so things are more regular and things work on both CPU endiannesses. Signed-off-by: Mark Brown <[email protected]> Acked-by: Liam Girdwood <[email protected]>
2011-05-11ASoC: Don't squash 16x8 registers down to 8 bitsMark Brown1-1/+0
Currently we'll force all registers to fit in 8 bits before passing down to the I/O function. Looks like a cut'n'paste bug. Signed-off-by: Mark Brown <[email protected]> Acked-by: Liam Girdwood <[email protected]>