Mark Brown [Sun, 9 Dec 2012 15:22:30 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/wm8770' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:29 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/wm8753' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:28 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/wm8750' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:28 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/wm8741' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:27 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/wm8510' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:26 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/wm8400' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:26 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/wm8350' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:24 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/wm2200' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:23 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/wm2000' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:22 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/wm0010' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:21 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/ux500' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:20 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/tlv320aic32x4' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:19 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/si476x' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:17 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/samsung' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:17 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/rt5631' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:16 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/omap' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:15 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/max98090' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:15 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/max9768' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:14 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/log' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:13 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/lm49453' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:12 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/kirkwood' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:12 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/jz4740' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:11 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/jack' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:10 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/hotplug' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:09 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/fsl' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:08 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/fsi' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:08 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/dmaengine' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:07 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/davinci' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:06 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/da9055' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:05 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/da7210' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:04 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/cs4271' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:02 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/atmel' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:22:00 +0000 (00:22 +0900)]
Merge remote-tracking branch 'asoc/topic/arizona' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:21:58 +0000 (00:21 +0900)]
Merge remote-tracking branch 'asoc/topic/ak4642' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:21:58 +0000 (00:21 +0900)]
Merge remote-tracking branch 'asoc/topic/ak4535' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:21:56 +0000 (00:21 +0900)]
Merge remote-tracking branch 'asoc/topic/ak4104' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:21:45 +0000 (00:21 +0900)]
Merge remote-tracking branch 'asoc/topic/adsp' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:21:42 +0000 (00:21 +0900)]
Merge remote-tracking branch 'asoc/topic/ab8500' into asoc-next
Mark Brown [Sun, 9 Dec 2012 15:21:41 +0000 (00:21 +0900)]
Merge remote-tracking branch 'asoc/fix/omap' into asoc-next
Mark Brown [Sun, 9 Dec 2012 03:50:05 +0000 (12:50 +0900)]
ASoC: wm5110: Enable volume ramp control
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Sun, 9 Dec 2012 03:26:49 +0000 (12:26 +0900)]
ASoC: wm5102: Enable volume ramp control
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Sun, 9 Dec 2012 03:25:52 +0000 (12:25 +0900)]
ASoC: arizona: Add volume ramp controls
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Padmavathi Venna [Fri, 7 Dec 2012 08:29:21 +0000 (13:59 +0530)]
ASoC: Samsung: Do not register samsung audio dma device as pdev
Previously, the ASoC 'platform' (PCM/DMA) object was instantiated via a
platform_device. This didn't represent the hardware well, since there
was no separate hardware associated with this platform_device; it was a
virtual device with sole purpose to call snd_soc_register_platform().
This change removes the platform_device completely. Each Samsung DAI now
registers the ASoC 'platform' itself. Machine drivers are adjusted for
the new 'platform' name.
Signed-off-by: Padmavathi Venna <padma.v@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Daniel Mack [Wed, 5 Dec 2012 17:20:38 +0000 (18:20 +0100)]
ASoC: McASP: implement a way to force BCLK/LRCLK ratios
Depending on the Codec, the the BCLK/LRCLK ratio might not be freely
chosen by the CPU DAI.
For example, some Codec might want to be supplied with 32-bit samples
for both its channels regardless of the actual audio word size the CPU
sends. In such cases, the rest of the bits on the data lines must be
padded with zeros:
_______________________________
LRCLK / \
--' `---------- .....
BCLK ||||||||||||||||||||||||||||||||||||||||||||||| .....
DATA ____||||||||||||||||_________________|||||||||| .....
|<-- data -->|<-- pads --> |
This patch adds a new clock divider to configure the BCLK/LRCLK ratio.
If the machine code uses that divider, the driver uses the specified
value, instead of deriving that information from the audio word size.
Otherwise, the original behaviour is retained.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Daniel Mack [Wed, 5 Dec 2012 17:20:37 +0000 (18:20 +0100)]
ASoC: McASP: calculate values for channel size
Change davinci_config_channel_size() to derive the values for XSSZ and
XROT in DAVINCI_MCASP_[RT]XFMT_REG from the configured word length
rather than hard-coding them in a switch/case block.
Also, by directly passing the word length to
davinci_config_channel_size(), we can get rid of the
DAVINCI_AUDIO_WORD_* enum.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Daniel Mack [Wed, 5 Dec 2012 17:20:36 +0000 (18:20 +0100)]
ASoC: McASP: remove unused variables
codec_fmt and sample_rate variables are unused in both snd_platform_data
and davinci_audio_dev, so drop them.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Peter Ujfalusi [Thu, 6 Dec 2012 14:35:25 +0000 (15:35 +0100)]
ASoC: omap-twl4030: Update the header file to support more boards
The common machine driver will be able to support new boards where the voice
port is also in use.
At the same time add possibility to fine tune the connections from twl4030
on the board: jack detection GPIO, input/output selection
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Fri, 7 Dec 2012 03:49:40 +0000 (12:49 +0900)]
ASoC: arizona: Log the clock we're setting the DAI to use
Useful for diagnostics.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Thu, 6 Dec 2012 09:22:25 +0000 (18:22 +0900)]
ASoC: arizona: Store the DAI clock ID when setting
So the code to suppress duplicate changes is effective.
Reported-by: Kyung Kwee Ryu <Kyung-Kwee.Ryu@wolfsonmicro.comyu@wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Thu, 6 Dec 2012 06:29:34 +0000 (15:29 +0900)]
ASoC: arizona: Make FLL lock timeout very high
Provide robustness against low quality FLL sync clocks by increasing the
timeout for lock to an absurdly high point; we should never get anywhere
near hitting the timeout in a real system unless it is failing.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Wed, 5 Dec 2012 07:38:30 +0000 (16:38 +0900)]
ASoC: wm5110: Add LHPF coefficient configuration
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Wed, 5 Dec 2012 07:38:12 +0000 (16:38 +0900)]
ASoC: wm5110: Add EQ coefficient configuration
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Wed, 5 Dec 2012 05:49:05 +0000 (14:49 +0900)]
ASoC: wm5102: Make EQ coefficents configurable
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Peter Ujfalusi [Mon, 3 Dec 2012 08:39:08 +0000 (09:39 +0100)]
ASoC: zoom2: Remove HS mux GPIO handling to avoid kernel crash due to BUG_ON()
The machine driver try to use GPIO15 of twl4030 for HS MUX which supposed to
select between TWL's HSOL/R and tlv320aic3254's HPL/R.
The TWL's GPIO allocated dynamically so the (OMAP_MAX_GPIO_LINES + 15) is no
longer valid GPIO number causing a kernel crash due to BUG_ON()
Also the current machine driver supports only TWL audio currently: there is
no need to control the GPIO.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Sachin Kamat [Mon, 3 Dec 2012 08:13:43 +0000 (13:43 +0530)]
ASoC: da7210: Remove unnecessary regmap_exit call
Use of devm_regmap_init_spi does not require an explicit
regmap_exit call.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Mon, 3 Dec 2012 02:23:51 +0000 (11:23 +0900)]
ASoC: wm5102: Add support for configuring LHPF coefficients
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Sun, 2 Dec 2012 12:50:46 +0000 (21:50 +0900)]
ASoC: adsp: Set DSP clock rate to SYSCLK rate
For simplicity always run the DSP at the SYSCLK rate.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Sun, 2 Dec 2012 12:37:00 +0000 (21:37 +0900)]
ASoC: adsp: Keep ADSP2 memory powered off when not in use
Turn off the ADSP memory when we aren't using it, saving a small amount of
power.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Bo Shen [Wed, 28 Nov 2012 03:46:13 +0000 (11:46 +0800)]
ASoC: atmel-pcm: dma support based on pcm dmaengine
Specify overrun bit in interrupt mask
Add dmaengine specific routines
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
[voice.shen@atmel.com: adapt to soc dmaengine framework]
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Bo Shen [Wed, 28 Nov 2012 03:46:12 +0000 (11:46 +0800)]
ASoC: atmel-pcm: split into two file
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 <voice.shen@atmel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Sun, 2 Dec 2012 01:42:22 +0000 (10:42 +0900)]
ASoC: wm5102: Correct base address for Y region
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Sachin Kamat [Mon, 26 Nov 2012 11:49:41 +0000 (17:19 +0530)]
ASoC: max9768: Use devm_regmap_init_i2c()
devm_regmap_init_i2c() is device managed and makes error
handling and code cleanup simpler.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Thu, 29 Nov 2012 15:16:10 +0000 (15:16 +0000)]
ASoC: arizona: Add parentheses
Some compiler versions complain.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Wed, 28 Nov 2012 19:53:59 +0000 (19:53 +0000)]
ASoC: wm_adsp: Set the core enable as well as start bit for ADSP2
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Sachin Kamat [Wed, 28 Nov 2012 09:15:25 +0000 (14:45 +0530)]
ASoC: wm2200: Remove empty labels
Removed unnecessary labels probably left out of some previous cleanup.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Padmavathi Venna [Wed, 28 Nov 2012 10:47:48 +0000 (16:17 +0530)]
ASoC: Samsung: Get I2S src_clk from clock alias id.
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 <padma.v@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Peter Ujfalusi [Wed, 28 Nov 2012 10:35:43 +0000 (11:35 +0100)]
ASoC: omap-abe-twl6040: Use "ti,jack-detection" DT property as boolean
Handle the jack detection inforamtion as bool from devicetree.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Wed, 28 Nov 2012 17:20:52 +0000 (17:20 +0000)]
ASoC: wm5102: Enable DVFS support for the DSP
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Wed, 28 Nov 2012 17:45:57 +0000 (17:45 +0000)]
Merge branch 'topic/adsp' of git://git./linux/kernel/git/broonie/sound into asoc-arizona
Sachin Kamat [Mon, 26 Nov 2012 11:49:40 +0000 (17:19 +0530)]
ASoC: lm49453: Use devm_regmap_init_i2c()
devm_regmap_init_i2c() is device managed and makes error
handling and code cleanup simpler.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Sachin Kamat [Mon, 26 Nov 2012 11:49:39 +0000 (17:19 +0530)]
ASoC: da7210: Use devm_regmap_init_i2c()
devm_regmap_init_i2c() is device managed and makes error
handling and code cleanup simpler.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Sachin Kamat [Mon, 26 Nov 2012 11:49:38 +0000 (17:19 +0530)]
ASoC: ak4535: Use devm_regmap_init_i2c()
devm_regmap_init_i2c() is device managed and makes error
handling and code cleanup simpler.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Sachin Kamat [Mon, 26 Nov 2012 11:49:36 +0000 (17:19 +0530)]
ASoC: wm8400: Use devm_regulator_bulk_get
devm_regulator_bulk_get() is device managed and makes error
handling and code cleanup simpler.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Sachin Kamat [Mon, 26 Nov 2012 11:49:34 +0000 (17:19 +0530)]
ASoC: wm8350: Use devm_regulator_bulk_get
devm_regulator_bulk_get() is device managed and makes error
handling and code cleanup simpler.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Wed, 28 Nov 2012 17:20:32 +0000 (17:20 +0000)]
ASoC: wm_adsp: Enable DVFS for ADSP2
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 <broonie@opensource.wolfsonmicro.com>
Mark Brown [Tue, 27 Nov 2012 17:36:38 +0000 (17:36 +0000)]
mfd: arizona: Register haptics devices
Both WM5102 and WM5110 support haptics, register the device.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Mon, 26 Nov 2012 21:18:18 +0000 (21:18 +0000)]
ASoC: wm5110: Implement haptics support
Provide a haptics widget for use by the haptics driver and expose the DAPM
context for it.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Mon, 26 Nov 2012 21:18:00 +0000 (21:18 +0000)]
ASoC: wm5102: Implement haptics support
Provide a haptics widget for use by the haptics driver and expose the DAPM
context for it.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Mon, 26 Nov 2012 21:17:21 +0000 (21:17 +0000)]
Input - arizona-haptics: Add driver haptics module on Arizona CODECs
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 <broonie@opensource.wolfsonmicro.com>
Mark Brown [Mon, 26 Nov 2012 21:11:10 +0000 (21:11 +0000)]
mfd: arizona: Allow the CODEC DAPM context to be accessed elsewhere
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 <broonie@opensource.wolfsonmicro.com>
Mark Brown [Wed, 28 Nov 2012 11:50:34 +0000 (11:50 +0000)]
ASoC: arizona: Record FLL setting when disabling
Otherwise we skip reenables.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Tue, 27 Nov 2012 20:02:45 +0000 (20:02 +0000)]
Merge tag 'v3.7-rc7' into asoc-wm2200
Linux 3.7-rc7
Mark Brown [Tue, 27 Nov 2012 20:01:25 +0000 (20:01 +0000)]
Merge tag 'v3.7-rc7' into asoc-ux500
Linux 3.7-rc7
Tony Lindgren [Wed, 21 Nov 2012 17:42:25 +0000 (09:42 -0800)]
ASoC: OMAP: mcbsp fixes for enabling ARM multiplatform support
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 <tony@atomide.com>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Lothar Waßmann [Mon, 26 Nov 2012 08:50:47 +0000 (09:50 +0100)]
ASoC: fsl: fix miscompilation of snd-soc-imx-pcm
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 <LW@KARO-electronics.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Lothar Waßmann [Thu, 22 Nov 2012 12:31:09 +0000 (13:31 +0100)]
ASoC: mxs-saif: export mxs_saif_put_mclk,mxs_saif_get_mclk
Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Lothar Waßmann [Fri, 23 Nov 2012 09:12:13 +0000 (10:12 +0100)]
ASoC: fsl: fix miscompilation of snd-soc-imx-pcm
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 <LW@KARO-electronics.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Wed, 26 Sep 2012 13:25:17 +0000 (14:25 +0100)]
ASoC: pcm: Report error code when we fail to init platform
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Mon, 8 Oct 2012 05:48:17 +0000 (14:48 +0900)]
ASoC: wm0010: Ignore interrupts in power down mode
The device should not be generating interrupts when it does not have power
so ignore incoming interrupts.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Wed, 21 Nov 2012 05:12:22 +0000 (14:12 +0900)]
ASoC: arizona: Suppress noop FLL updates
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Tue, 27 Nov 2012 19:02:05 +0000 (19:02 +0000)]
ASoC: wm5102: Add missing routes for ASRC inputs
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Mon, 26 Nov 2012 14:18:36 +0000 (14:18 +0000)]
ASoC: wm2000: Get the CODEC pointer from the widget
Don't rely on the kcontrol for robustness reasons, the widget mechanism
is what the framework uses.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown [Mon, 26 Nov 2012 16:01:37 +0000 (16:01 +0000)]
ASoC: arizona: Support higher clock rates
Some devices support higher clock rates, allow users to select these.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Linus Torvalds [Mon, 26 Nov 2012 01:59:19 +0000 (17:59 -0800)]
Linux 3.7-rc7
Linus Torvalds [Mon, 26 Nov 2012 01:57:01 +0000 (17:57 -0800)]
Merge branch 'merge' of git://git./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
Linus Torvalds [Mon, 26 Nov 2012 01:55:04 +0000 (17:55 -0800)]
Merge branch 'upstream' of git://git.linux-mips.org/ralf/upstream-linus
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
Gavin Shan [Thu, 22 Nov 2012 21:58:26 +0000 (21:58 +0000)]
powerpc/eeh: Do not invalidate PE properly
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 <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Linus Torvalds [Sat, 24 Nov 2012 18:32:11 +0000 (08:32 -1000)]
Merge tag 'sound-3.7' of git://git./linux/kernel/git/tiwai/sound
Pull sound build error fix from Takashi Iwai:
"Only a single commit for fixing the build error without CONFIG_PM in
hda driver."
* tag 'sound-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
ALSA: hda - Fix build without CONFIG_PM
Takashi Iwai [Sat, 24 Nov 2012 10:58:24 +0000 (11:58 +0100)]
ALSA: hda - Fix build without CONFIG_PM
I forgot this again... codec->in_pm is in #ifdef CONFIG_PM
Reported-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Linus Torvalds [Sat, 24 Nov 2012 06:03:14 +0000 (20:03 -1000)]
Merge branch 'x86-urgent-for-linus' of git://git./linux/kernel/git/tip/tip
Pull x86 arch fixes from Peter Anvin:
"Here is a collection of fixes for 3.7-rc7. This is a superset of
tglx' earlier pull request."
* 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86-64: Fix ordering of CFI directives and recent ASM_CLAC additions
x86, microcode, AMD: Add support for family 16h processors
x86-32: Export kernel_stack_pointer() for modules
x86-32: Fix invalid stack address while in softirq
x86, efi: Fix processor-specific memcpy() build error
x86: remove dummy long from EFI stub
x86, mm: Correct vmflag test for checking VM_HUGETLB
x86, amd: Disable way access filter on Piledriver CPUs
x86/mce: Do not change worker's running cpu in cmci_rediscover().
x86/ce4100: Fix PCI configuration register access for devices without interrupts
x86/ce4100: Fix reboot by forcing the reboot method to be KBD
x86/ce4100: Fix pm_poweroff
MAINTAINERS: Update email address for Robert Richter
x86, microcode_amd: Change email addresses, MAINTAINERS entry
MAINTAINERS: Change Boris' email address
EDAC: Change Boris' email address
x86, AMD: Change Boris' email address
This page took 0.041629 seconds and 5 git commands to generate.