24 Apr, 2010
1 commit
-
Follow the core jack implementation and allow reporting on the status
of NULL jacks, avoiding the need to check in detection implementations.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood
23 Apr, 2010
2 commits
-
Signed-off-by: Barry Song
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Signed-off-by: Barry Song
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
22 Apr, 2010
1 commit
-
Signed-off-by: Mark Brown
21 Apr, 2010
4 commits
-
It's a little verbose during path changes.
Signed-off-by: Mark Brown
-
Use all the available Fratio values when configuring the WM8994 FLL, not
just 0 and 3, following more complete characterisation of the device
performance.Signed-off-by: Mark Brown
-
The WM8994 FLL can be clocked from one of four inputs, the two MCLKs and
the LRCLK and BCLK of the AIF associated with the FLL. Allow all four
inputs to be used rather than defaulting to MCLK1.Signed-off-by: Mark Brown
-
An index equal to the array size may not be accessed.
Signed-off-by: Phil Carmody
Acked-by: Kuninori Morimoto
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
20 Apr, 2010
1 commit
-
Conversions to snd_soc_codec_{get|set}_drvdata() were missing in some files
in the previous commit.Signed-off-by: Takashi Iwai
17 Apr, 2010
2 commits
-
One of the features of the multi CODEC work is that it embeds a struct
device in the CODEC to provide diagnostics via a sysfs class rather than
via the device tree, at which point it's much better to use the struct
device private data rather than having two places to store it. Provide
an accessor function to allow this change to be made more easily, and
update all the CODEC drivers are updated.To ensure use of the accessor the private data structure member is
renamed, meaning that if code developed with older an older core that
still uses private_data is merged it will fail to build.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood
16 Apr, 2010
1 commit
-
Doing so causes a deadlock, so just signal the timer to stop
using an atomic variable.Signed-off-by: Sascha Hauer
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
15 Apr, 2010
1 commit
-
Currently the notification of elapsed periods is not very exact.
Increase minimum periods to 4 as suggested by Liam Girdwood.Signed-off-by: Sascha Hauer
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
12 Apr, 2010
2 commits
-
This patch adds support for sound through the WM8750 codec on Zipit Z2.
Also, this patch incorporates support for detecting headset jack
insertion through the jack detection API.Signed-off-by: Marek Vasut
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Signed-off-by: Bill Gatliff
Acked-by: Richard Purdie
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
09 Apr, 2010
1 commit
-
Register the WM8750 as a SPI or I2C device. This patch mostly shuffles code
around. Hugely inspired by WM8753 which was already converted.Also, this patch fixes the Jive and Spitz machine.
Signed-off-by: Marek Vasut
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
08 Apr, 2010
4 commits
-
Using a regular timer results in poll times < 1 jiffie with small
buffers, so we loaded the timer with the actual jiffie value. We can
be more accurate using a hrtimer. Also, we have to call
snd_pcm_period_elapsed after playing period_bytes and not
runtime->period_size (which is in samples and not in bytes).Signed-off-by: Sascha Hauer
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Signed-off-by: Sascha Hauer
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
When checking if we are DMA capable we have to check for the
IMX_SSI_DMA flag which is already set from platform_data instead
of setting it again when we want to do DMA.Signed-off-by: Sascha Hauer
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Remove unused #include ('s) in
sound/soc/codecs/wm2000.cSigned-off-by: Huang Weiyi
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
06 Apr, 2010
5 commits
-
Conflicts due to context changes next to the backported DMA data change:
include/sound/soc.h -
Support interrupt based microphone bias detection. The WM8994 has two
microphone bias supplies, with detection supported on both. Detection
using GPIOs together with the standard GPIO based jack framework is
already supported via the platform data for the WM8994 core driver.Note that as well as the microphone bias itself the system clock and
whichever AIF clock is supplying the system clock will need to be
enabled for detection to function.Signed-off-by: Mark Brown
-
Signed-off-by: Mark Brown
-
The WM8994 has an interrupt controller which supports interrupts for
both CODEC and GPIO portions of the chip. Support this using genirq,
while allowing for systems that do not have an interrupt hooked up.Wrapper functions are provided for the IRQ request and free to simplify
the code in consumer drivers when handling cases where IRQs are not
set up.Signed-off-by: Mark Brown
Acked-by: Samuel Ortiz -
This fixes a memory corruption when ASoC devices are used in
full-duplex mode. Specifically for pxa-ssp code, where this pointer
is dynamically allocated for each direction and destroyed upon each
stream start.All other platforms are fixed blindly, I couldn't even compile-test
them. Sorry for any breakage I may have caused.[Note that this is a backported version for 2.6.34.
Upstream commit is fd23b7dee]Signed-off-by: Daniel Mack
Reported-by: Sven Neumann
Reported-by: Michael Hirsch
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
05 Apr, 2010
5 commits
-
Otherwise we may try to power down multiple times when the using
idle bias off and the driver is removed.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
The DCS_DATAPATH_BUSY bit used to monitor the completion of DC servo
operations has been deprecated and with some more recente revisions
may perform incorrectly, especially when only analogue bypass paths
are in use. Switch to using readback from the DC servo command
register instead, which is supported for all devices. Without this
unacceptably long timeouts may be observed in some circumstances.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
If we need to offset correct the DC servo then don't use runtime
recalibration since that is likely to introduce further offsets
which will be evident on powerdown.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
More recent Wolfson hubs devices add the ability to read back the DC
servo calibration information from the register used to write offsets,
and later still ones remove the old readback registers. Add support
for the new scheme, and use it for WM8994 device revisions that
support it.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
If the correction wraps around then a substantial offset would be
introduced.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood
03 Apr, 2010
2 commits
-
With recent (2.6.34) chnages in PCM handling, capture stopped working on my
OMAP1510 based Amstrad Delta videophone.Using 2.6.34-rc2, I was able to correct the problem in 3 different ways:
1. reverting commit 7b3a177b0d4f92b3431b8dca777313a07533a710,
2. enabling additional jiffies check with
echo 4 >/proc/asound/card0/pcm0c0/xrun_debug
3. applying the patch below.Since I wasn't able to reproduce the problem on my i686 PC, I guess the
problem is probably machine specific.The patch reuses the method for software emulation of missing hardware
pointer, already implemented for playback on OMAP1510. It's possible that
event if a hardware pointer is available for capture on this machine, its
behaviour may be not compatible with what upper layer expects.If you think the problem may be more general and should be solved differently,
on a higher level, I can try to work more on it if you give me a hint.If the patch gets accepted, I suggest it goes as a fix in the current release
cycle.Created and tested against linux-2.6.34-rc2.
Signed-off-by: Janusz Krzysztofik
Acked-by: Jarkko Nikula
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Implicit slab.h inclusion via percpu.h is about to go away. Make sure
gfp.h or slab.h is included as necessary.Signed-off-by: Tejun Heo
Acked-by: Samuel Ortiz
Signed-off-by: Mark Brown
30 Mar, 2010
5 commits
-
The way i've factored out the bus probe and removal functions so
that there's no code in the individual I2C and SPI functions means
that the register() and unregister() functions could just be squashed
into the bus_probe() and bus_remove() functions.Signed-off-by: Barry Song
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
[The issue is an attempt to write the pdata without the AC97 device
allocated when using ac97.c - also added a comment in soc-core.c for the
special case for ac97. -- broonie]Signed-off-by: Graham Gower
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
…/sound-2.6 into for-2.6.35
-
Implicit slab.h inclusion via percpu.h is about to go away. Make sure
gfp.h or slab.h is included as necessary.Signed-off-by: Tejun Heo
Signed-off-by: Takashi Iwai
29 Mar, 2010
3 commits
-
Signed-off-by: Takashi Iwai
-
Signed-off-by: Stephen Rothwell
Signed-off-by: Takashi Iwai -
Signed-off-by: Stephen Rothwell
Signed-off-by: Takashi Iwai