- 07 6月, 2009 1 次提交
-
-
由 Mark Brown 提交于
In the past the DAPM power sequencing was done by iterating over the list of widgets once for each widget type and powering widgets of that type. Instead of doing that do the sorting at the time we insert the widgets into the lists of widgets to apply power changes to. This reduces the amount of computation required for seqencing still further, though the costs are generally dwarfed by the costs of the register writes implementing them. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
- 06 6月, 2009 2 次提交
-
-
由 Mark Brown 提交于
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
由 Troy Kisky 提交于
Some code analyzer software mistakenly gives divide by 0 error messages for these lines. This patch will end its confusion. Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
- 04 6月, 2009 2 次提交
-
-
由 Daniel Mack 提交于
In case the initalization of an soc_device failed, there is no codec associated with it. soc_suspend() will still dereference the pointer and cause an Ooops when entering the sleep mode. This happens on our board with a multi-target kernel image when booted on a machine without audio circuits. This patch makes the code bail out very early in this special case. Signed-off-by: NDaniel Mack <daniel@caiaq.de> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
由 Takashi Iwai 提交于
Fix the (likely cut-n-paste) error by commit 16a30fbb, which causes the error below: sound/soc/codecs/twl4030.c: In function 'twl4030_read_reg_cache': sound/soc/codecs/twl4030.c:152: error: 'cache' undeclared (first use in this function) Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 03 6月, 2009 4 次提交
-
-
由 Cliff Cai 提交于
Fixes crash when shutting down. Signed-off-by: NCliff Cai <cliff.cai@analog.com> Signed-off-by: NMike Frysinger <vapier@gentoo.org> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
由 Sonic Zhang 提交于
Signed-off-by: NSonic Zhang <sonic.zhang@analog.com> Signed-off-by: NMike Frysinger <vapier@gentoo.org> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
由 Cliff Cai 提交于
Signed-off-by: NCliff Cai <cliff.cai@analog.com> Signed-off-by: NMike Frysinger <vapier@gentoo.org> Signed-off-by: NBryan Wu <cooloney@kernel.org> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
由 Cliff Cai 提交于
Signed-off-by: NCliff Cai <cliff.cai@analog.com> Signed-off-by: NMike Frysinger <vapier@gentoo.org> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
- 02 6月, 2009 1 次提交
-
-
由 Peter Ujfalusi 提交于
In addition to the operating mode check, also check the codec's interface format in case of four channel mode. If the codec is not in TDM (DSP_A) mode, return with error. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@nokia.com> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
- 29 5月, 2009 2 次提交
-
-
由 Peter Ujfalusi 提交于
Use the codec->reg_cache instead of the array directly in twl4030_init_chip for setting the default values. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@nokia.com> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
由 Mark Brown 提交于
Also include the header to make sure the DAI is prototyped. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
- 28 5月, 2009 3 次提交
-
-
由 Chaithrika U S 提交于
McASP on DM646x can operate in DIT (S/PDIF) where no codec is needed. This patch provides stub codec that can be used in these configurations. On DM646x EVM the McASP1 is connected to the S/PDIF out. Signed-off-by: NSteve Chen <schen@mvista.com> Signed-off-by: NPavel Kiryukhin <pkiryukhin@ru.mvista.com> Signed-off-by: NNaresh Medisetty <naresh@ti.com> Signed-off-by: NChaithrika U S <chaithrika@ti.com> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
由 Roel Kluin 提交于
Unsigned variables should use `%u' rather than `%d'. Signed-off-by: NRoel Kluin <roel.kluin@gmail.com> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
由 Jon Smirl 提交于
The function signature for spin_event_timeout() has changed in version V9. Adjust the mpc5200 AC97 driver to use the new function. Signed-off-by: NJon Smirl <jonsmirl@gmail.com> Acked-by: NTimur Tabi <timur@freescale.com> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
- 27 5月, 2009 6 次提交
-
-
由 Mark Brown 提交于
The effect of symmetric_constraints should provide a standard way to enforce the use of the same sample rate for both directions. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: NTimur Tabi <timur@freescale.com>
-
由 Mark Brown 提交于
These drivers use spin_event_timeout() which is only present in the PowerPC tree at present and which is undergoing some API revisions so temporarily mark them as BROKEN until these issues are sorted out. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
由 Jon Smirl 提交于
Signed-off-by: NJon Smirl <jonsmirl@gmail.com> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
由 Jon Smirl 提交于
A wm9712 AC97 codec is used. Signed-off-by: NJon Smirl <jonsmirl@gmail.com> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
由 Jon Smirl 提交于
I've implemented retries for when the AC97 hardware doesn't reset on first try. About 10% of the time both the Efika and pcm030 AC97 codecs don't reset on first try and need to be poked multiple times. Failure is indicated by not having the link clock start ticking. Every once in a while even five pokes won't get the link started and I have to power cycle. Signed-off-by: NJon Smirl <jonsmirl@gmail.com> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
由 Jon Smirl 提交于
Rewrite the mpc5200 audio DMA code to support both I2S and AC97. Signed-off-by: NJon Smirl <jonsmirl@gmail.com> Acked-by: NGrant Likely <grant.likely@secretlab.ca> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
- 25 5月, 2009 6 次提交
-
-
由 Peter Ujfalusi 提交于
Add DAPM switch for HeadsetL/R mute. Since all bits are are needed for the HFL/R pop removal to work the switch is using the SW_SHADOW no HW register for the HandsfreeL/R mute. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@nokia.com> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
由 Peter Ujfalusi 提交于
Shadow, non HW register for dealing with the HandsfreeL/R muting. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@nokia.com> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
由 Peter Ujfalusi 提交于
Move the HandsfreeL/R (IHFL/R) pop removal code from the DAPM_MUX_E to a more appropriate DAPM_PGA_E widget. Also fix the power-up sequence to match with the TRM. The power-down sequence is not described in the TRM, so do it in a way, which seams like the correct sequence. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@nokia.com> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
由 Jon Smirl 提交于
Add a few more mpc5200 PSC defines. More bit fields defines for mpc5200 PSC registers. Signed-off-by: NJon Smirl <jonsmirl@gmail.com> Acked-by: NGrant Likely <grant.likely@secretlab.ca> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
由 Jon Smirl 提交于
Rename the functions in the mpc5200 DMA file from i2s based names to dma ones to reflect the file they are in. Signed-off-by: NJon Smirl <jonsmirl@gmail.com> Acked-by: NGrant Likely <grant.likely@secretlab.ca> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
由 Jon Smirl 提交于
Basic split of mpc5200 DMA code out from i2s into a standalone file. Signed-off-by: NJon Smirl <jonsmirl@gmail.com> Acked-by: NGrant Likely <grant.likely@secretlab.ca> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
- 24 5月, 2009 2 次提交
-
-
由 Mark Brown 提交于
Fairly minor issues: - Don't register the DAIs, it's not required for AC97 devices. - Make unexported functions static. - Wrap some excessively long lines. - Undo tab/space breakage. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
由 Jon Smirl 提交于
Datasheet: http://www.idt.com/products/getDoc.cfm?docID=13134007Signed-off-by: NJon Smirl <jonsmirl@gmail.com> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
- 23 5月, 2009 1 次提交
-
-
由 Mark Brown 提交于
Ensure that we always set a new sysclk when using the FLL in master mode and pick out the correct value for the sample rate in hw_params(). Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
- 22 5月, 2009 5 次提交
-
-
由 Mark Brown 提交于
The WM9081 is designed to provide high power output at low distortion levels in space-constrained portable applications. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
由 Peter Ujfalusi 提交于
Give unique stream names for the two playback streams so DAPM can figure out which codec_dai is in use. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@nokia.com> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
由 Peter Ujfalusi 提交于
With this patch the initial headset pop-removal related values are configured for the twl4030 codec (ramp delay and sysclk). Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@nokia.com> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
由 Peter Ujfalusi 提交于
twl4030_setup_data structure can be passed from platform drivers to the codec via the snd_soc_device->codec_data pointer. Currently the setup data has support for the Headset pop-removal related configuration, which differs from board to board. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@nokia.com> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
由 Mark Brown 提交于
Should be no impact on the generated code but it helps the compiler print clearer messages. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
- 20 5月, 2009 3 次提交
-
-
由 Peter Ujfalusi 提交于
This patch adds SND_SOC_DAPM_PGA_E to the headset path, which handles the headset ramp up and down sequences needed for the pop noise removal. With this patch the order of the internal components in the twl4030 codec is turned on and off in a correct order. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@nokia.com> Tested-by: NAnuj Aggarwal <anuj.aggarwal@ti.com> Tested-by: NJarkko Nikula <jhnikula@gmail.com> Tested-by: NMisael Lopez Cruz <x0052729@ti.com> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
由 Peter Ujfalusi 提交于
Restructuring the twl4030 codec's DAPM routing to be able to handle the power sequences correctly. The twl4030 codec internal implementation have this order: DAC -> Analog PGA -> Mixer/Mux While the ASoC framework expects the following order: DAC -> Mixer -> Analog PGA This patch moves the Analog PGA handling from SND_SOC_DAPM_PGA to _MIXER and adds two levels of mixer to handle the digital and analog loopback functionality. Now the analog loopback does not powers on any of the DACs. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@nokia.com> Tested-by: NAnuj Aggarwal <anuj.aggarwal@ti.com> Tested-by: NJarkko Nikula <jhnikula@gmail.com> Tested-by: NMisael Lopez Cruz <x0052729@ti.com> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
由 Atsushi Nemoto 提交于
This patch adds support for the integrated ACLC of the TXx9 family. Signed-off-by: NAtsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
- 19 5月, 2009 2 次提交
-
-
由 Lopez Cruz, Misael 提交于
Connect twl4030 voice DAI to McBSP3 in sdp3430 machine driver. Voice DAI init function enables corresponding interface by writting directly to VOICE_IF codec register. Signed-off-by: NMisael Lopez Cruz <x0052729@ti.com> Acked-by: NPeter Ujflausi <peter.ujfalusi@nokia.com> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-
由 Lopez Cruz, Misael 提交于
Add a control for selecting the codec operation mode. TWL4030 codec has two modes: - Option 1. Audio only (4 audio DACs) - Option 2. Voice/Audio (2 audio DACs and voice ADC/DAC) Control is restricted when a stream is ongoing, since codec's operation mode cannot be changed on-the-fly. Signed-off-by: NMisael Lopez Cruz <x0052729@ti.com> Acked-by: NPeter Ujflausi <peter.ujfalusi@nokia.com> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-