aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-12-03ASoC: adsp: Keep ADSP2 memory powered off when not in useMark Brown1-0/+11
Turn off the ADSP memory when we aren't using it, saving a small amount of power. Signed-off-by: Mark Brown <[email protected]>
2012-12-02ASoC: atmel-pcm: dma support based on pcm dmaengineBo Shen5-2/+276
Specify overrun bit in interrupt mask Add dmaengine specific routines Signed-off-by: Nicolas Ferre <[email protected]> [[email protected]: adapt to soc dmaengine framework] Signed-off-by: Bo Shen <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-12-02ASoC: atmel-pcm: split into two fileBo Shen6-382/+441
This patch is split original atmel-pcm.c into new atmel-pcm.c and atmel-pcm-pdc.c two files. The new atmel-pcm.c is the share routine while will be used for pdc or dma transfer. Using SND_ATMEL_SOC_PDC to select using PDC for audio transfer Signed-off-by: Bo Shen <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-12-02ASoC: wm5102: Correct base address for Y regionMark Brown1-1/+1
Signed-off-by: Mark Brown <[email protected]>
2012-12-02ASoC: wm8960: Use devm_regmap_init_i2c()Sachin Kamat1-1/+1
devm_regmap_init_i2c() is device managed and makes error handling and code cleanup simpler. There was no explicit regmap_exit call in this function which was probably a bug. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-12-02ASoC: wm8955: Use devm_regmap_init_i2c()Sachin Kamat1-10/+1
devm_regmap_init_i2c() is device managed and makes error handling and code cleanup simpler. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-12-02ASoC: max9768: Use devm_regmap_init_i2c()Sachin Kamat1-5/+2
devm_regmap_init_i2c() is device managed and makes error handling and code cleanup simpler. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-12-02ASoC: wm8978: Use devm_regmap_init_i2c()Sachin Kamat1-10/+3
devm_regmap_init_i2c() is device managed and makes error handling and code cleanup simpler. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-12-02ASoC: wm8962: Use devm_regmap_init_i2c()Sachin Kamat1-11/+6
devm_regmap_init_i2c() is device managed and makes error handling and code cleanup simpler. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-12-02ASoC: wm8993: Use devm_regmap_init_i2c()Sachin Kamat1-6/+3
devm_regmap_init_i2c() is device managed and makes error handling and code cleanup simpler. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-12-02ASoC: wm9081: Use devm_regmap_init_i2c()Sachin Kamat1-16/+6
devm_regmap_init_i2c() is device managed and makes error handling and code cleanup simpler. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-12-02ASoC: wm9090: Use devm_regmap_init_i2c()Sachin Kamat1-14/+6
devm_regmap_init_i2c() is device managed and makes error handling and code cleanup simpler. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-11-29ASoC: arizona: Add parenthesesMark Brown1-1/+1
Some compiler versions complain. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-11-28ASoC: wm_adsp: Set the core enable as well as start bit for ADSP2Mark Brown1-3/+5
Signed-off-by: Mark Brown <[email protected]>
2012-11-28ASoC: wm2200: Remove empty labelsSachin Kamat1-6/+3
Removed unnecessary labels probably left out of some previous cleanup. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-11-28ASoC: Samsung: Get I2S src_clk from clock alias id.Padmavathi Venna2-12/+6
As the I2S src clks are registered with clkdev using generic connection id, driver can get the clk name using generic id. So the variable representing the array of rclk src clks is deleted. Signed-off-by: Padmavathi Venna <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-11-28ASoC: omap-abe-twl6040: Use "ti,jack-detection" DT property as booleanPeter Ujfalusi2-4/+4
Handle the jack detection inforamtion as bool from devicetree. Signed-off-by: Peter Ujfalusi <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-11-28ASoC: wm5102: Enable DVFS support for the DSPMark Brown1-1/+5
Signed-off-by: Mark Brown <[email protected]>
2012-11-28Merge branch 'topic/adsp' of ↵Mark Brown2-2/+100
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-arizona
2012-11-28ASoC: lm49453: Use devm_regmap_init_i2c()Sachin Kamat1-8/+2
devm_regmap_init_i2c() is device managed and makes error handling and code cleanup simpler. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-11-28ASoC: da7210: Use devm_regmap_init_i2c()Sachin Kamat1-11/+2
devm_regmap_init_i2c() is device managed and makes error handling and code cleanup simpler. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-11-28ASoC: ak4535: Use devm_regmap_init_i2c()Sachin Kamat1-6/+1
devm_regmap_init_i2c() is device managed and makes error handling and code cleanup simpler. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-11-28ASoC: wm8993: Use devm_regulator_bulk_getSachin Kamat1-5/+2
devm_regulator_bulk_get() is device managed and makes error handling and code cleanup simpler. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-11-28ASoC: wm8400: Use devm_regulator_bulk_getSachin Kamat1-11/+3
devm_regulator_bulk_get() is device managed and makes error handling and code cleanup simpler. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-11-28ASoC: wm8962: Use devm_regulator_bulk_getSachin Kamat1-5/+2
devm_regulator_bulk_get() is device managed and makes error handling and code cleanup simpler. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-11-28ASoC: wm8350: Use devm_regulator_bulk_getSachin Kamat1-3/+1
devm_regulator_bulk_get() is device managed and makes error handling and code cleanup simpler. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-11-28ASoC: wm_adsp: Enable DVFS for ADSP2Mark Brown2-2/+100
Some ADSP devices can make use of DVFS to optimise power consumption depending on the operating frequency of the DSP core. Implement support for this in the generic ADSP code. Signed-off-by: Mark Brown <[email protected]>
2012-11-28ASoC: wm8994: Use the same DCS codes for all WM1811 variantsMark Brown1-14/+2
Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
2012-11-28mfd: arizona: Register haptics devicesMark Brown1-0/+2
Both WM5102 and WM5110 support haptics, register the device. Signed-off-by: Mark Brown <[email protected]>
2012-11-28ASoC: wm5110: Implement haptics supportMark Brown1-1/+24
Provide a haptics widget for use by the haptics driver and expose the DAPM context for it. Signed-off-by: Mark Brown <[email protected]>
2012-11-28ASoC: wm5102: Implement haptics supportMark Brown1-1/+23
Provide a haptics widget for use by the haptics driver and expose the DAPM context for it. Signed-off-by: Mark Brown <[email protected]>
2012-11-28Input - arizona-haptics: Add driver haptics module on Arizona CODECsMark Brown4-0/+272
The Arizona CODECs contain a haptics module providing vibration feedback support. Implement basic support for this, providing simple start/stop and signal magnitude control. Since the output path for haptics is routed through the CODEC audio routing it is modelled as a signal generator within ASoC, the haptics driver calls DAPM to start and stop the output drivers. An appropriate output path must be configured via ALSA to connect the haptics source to the correct output. Signed-off-by: Mark Brown <[email protected]>
2012-11-28mfd: arizona: Allow the CODEC DAPM context to be accessed elsewhereMark Brown1-0/+4
Some other device functions need to integrate with signal sources in the audio portion (primarily for haptics) so allow CODEC to export the DAPM context by pointing to it from the core driver. Signed-off-by: Mark Brown <[email protected]>
2012-11-28ASoC: arizona: Record FLL setting when disablingMark Brown1-0/+3
Otherwise we skip reenables. Signed-off-by: Mark Brown <[email protected]>
2012-11-27Merge tag 'v3.7-rc7' into asoc-wm2200Mark Brown162-595/+1429
Linux 3.7-rc7
2012-11-27Merge tag 'v3.7-rc7' into asoc-ux500Mark Brown1073-7673/+13348
Linux 3.7-rc7
2012-11-27ASoC: OMAP: mcbsp fixes for enabling ARM multiplatform supportTony Lindgren3-6/+9
We cannot include any plat or mach headers for the multiplatform support. Fix the issue by defining local mcbsp_omap1(). Signed-off-by: Tony Lindgren <[email protected]> Acked-by: Jarkko Nikula <[email protected]> Acked-by: Peter Ujfalusi <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-11-27ASoC: fsl: fix miscompilation of snd-soc-imx-pcmLothar Waßmann1-2/+2
Hi Mark, thanks your insisting on a better description for the patch, I found a more appropriate solution for the problem: Compiling the SoC Audio driver for Freescale i.MX as a module (CONFIG_SND_SOC_IMX_PCM=m) results in a non-functional sound driver indicated by the error message: | imx-sgtl5000 sound.1: platform imx-pcm-audio not registered | imx-sgtl5000 sound.1: snd_soc_register_card failed (-517) | platform sound.1: Driver imx-sgtl5000 requests probe deferral instead of the message: | imx-sgtl5000 sound.1: sgtl5000 <-> 63fcc000.ssi mapping ok that is to be expected upon loading the snd-soc-imx-pcm.ko module. The build log reveals, that the file imx-pcm-dma.o (or imx-pcm-fiq.o depending on the kernel configuration), which should be linked together with imx-pcm.o into snd-imx-pcm.ko, is not being compiled in this case. The make rules for these files shows that the target object imx-pcm.o is assigned to the variable snd-soc-imx-pcm-y while imx-pcm-{dma,fiq}.o are added to to snd-soc-imx-pcm-$(CONFIG_SND_SOC_IMX_PCM_DMA) and snd-soc-imx-pcm-$(CONFIG_SND_SOC_IMX_PCM_FIQ) which resolve to snd-soc-imx-pcm-m in this case. According to Documentation/kbuild/modules.txt: |When the module is built from multiple sources, an additional line is |needed listing the files: | | <module_name>-y := <src1>.o <src2>.o ... Thus the type of the config variables CONFIG_SND_SOC_IMX_PCM_DMA and CONFIG_SND_SOC_IMX_PCM_FIQ should be 'bool' instead of 'tristate' to resolve to 'y' when selected. Signed-off-by: Lothar Waßmann <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-11-27ASoC: mxs-saif: export mxs_saif_put_mclk,mxs_saif_get_mclkLothar Waßmann1-0/+2
Signed-off-by: Lothar Waßmann <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-11-27ASoC: fsl: fix miscompilation of snd-soc-imx-pcmLothar Waßmann1-3/+7
Due to a broken make rule, sound/soc/fsl/imx-pcm-dma.c or sound/soc/fsl/imx-pcm-fiq.c (whatever is selected via Kconfig) will not be compiled into imx-pcm.o when building as module, i.e.: CONFIG_SND_SOC_IMX_PCM=m CONFIG_SND_SOC_IMX_PCM_DMA=m resulting in a non-functional sound driver. This gives the error messages: | imx-sgtl5000 sound.1: platform imx-pcm-audio not registered | imx-sgtl5000 sound.1: snd_soc_register_card failed (-517) | platform sound.1: Driver imx-sgtl5000 requests probe deferral when loading the driver instead of what's to be expected: | imx-sgtl5000 sound.1: sgtl5000 <-> 63fcc000.ssi mapping ok Signed-off-by: Lothar Waßmann <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-11-27ASoC: pcm: Report error code when we fail to init platformMark Brown1-1/+3
Signed-off-by: Mark Brown <[email protected]>
2012-11-27ASoC: wm0010: Ignore interrupts in power down modeMark Brown1-1/+0
The device should not be generating interrupts when it does not have power so ignore incoming interrupts. Signed-off-by: Mark Brown <[email protected]>
2012-11-27ASoC: arizona: Suppress noop FLL updatesMark Brown2-0/+8
Signed-off-by: Mark Brown <[email protected]>
2012-11-27ASoC: wm5102: Add missing routes for ASRC inputsMark Brown1-0/+5
Signed-off-by: Mark Brown <[email protected]>
2012-11-27ASoC: wm2000: Get the CODEC pointer from the widgetMark Brown1-1/+1
Don't rely on the kcontrol for robustness reasons, the widget mechanism is what the framework uses. Signed-off-by: Mark Brown <[email protected]>
2012-11-27ASoC: arizona: Support higher clock ratesMark Brown1-0/+12
Some devices support higher clock rates, allow users to select these. Signed-off-by: Mark Brown <[email protected]>
2012-11-25Linux 3.7-rc7Linus Torvalds1-1/+1
2012-11-25Merge branch 'merge' of ↵Linus Torvalds2-2/+3
git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc Pull powerpc EEH bugfixes from Benjamin Herrenschmidt. Two one-liner fixes for the new EEH code. * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: powerpc/eeh: Do not invalidate PE properly powerpc/pseries: Fix oops with MSIs when missing EEH PEs
2012-11-25Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linusLinus Torvalds3-12/+41
Pull MIPS fixes from Ralf Baechle: "Three issues fixed accross the field: - Some functions that were recently outlined as part of a preemption fix were causing problems with function tracing. - The recently merged in-kernel MPI library uses very outdated headers that contain MIPS-specific code which won't build on with gcc 4.4 or newer. - The MIPS non-NUMA memory initialization was making only a very half-baked attempt at merging adjacent memory ranges. This kept the code simple enough but is now causing issues with kexec." * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: MPI: Fix compilation on MIPS with GCC 4.4 and newer MIPS: Fix crash that occurs when function tracing is enabled MIPS: Merge overlapping bootmem ranges
2012-11-26powerpc/eeh: Do not invalidate PE properlyGavin Shan1-1/+1
While the EEH does recovery on the specific PE that has PCI errors, the PCI devices belonging to the PE will be removed and the PE will be marked as invalid since we still need the information stored in the PE. We only invalidate the PE when it doesn't have associated EEH devices and valid child PEs. However, the code used to check that is wrong. The patch fixes that. Signed-off-by: Gavin Shan <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>