30 Jun, 2011
4 commits
-
More for neatness than any actual performance improvement.
Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
It was consistently wrong for everything except WM8993 so should be no
functional change.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
The Blackfin DMA controller can report one frame beyond the end of the
buffer in the wraparound case but ALSA requires that the pointer always
be in the buffer. Do the wraparound to handle this. A similar bug is
likely to apply to the other Blackfin PCM drivers but the code is less
obvious to inspection and I don't have a user to test.Reported-by: Kieran O'Leary
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
Cc: stable@kernel.org
29 Jun, 2011
2 commits
-
Add a machine driver to support the EVAL-ADAV801 and EVAL-ADAV803 boards
connected to a Analog Devices BF5XX evaluation board.Signed-off-by: Lars-Peter Clausen
Acked-by: Mike Frysinger
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
This patch adds support for the Analog Devices ADAV801 and ADAV803 audio codec.
Signed-off-by: Lars-Peter Clausen
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
26 Jun, 2011
3 commits
-
This patch add idma related register definitions to support idma.
Signed-off-by: Sangbeom Kim
Acked-by: Jassi Brar
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
I2S registers can be used for control idma.
Previously, register is defined in i2s.c.
For sharing the registers, It is moved to i2s-regs.hSigned-off-by: Sangbeom Kim
Acked-by: Jassi Brar
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
This patch add WM8994 PCM machine driver to support PCM audio
on SMDKV310, SMDKC210 boards.
Playback and Capture supports 8kHz sampling rates.
and It is tested on SMDKV310, SMDKC210.Signed-off-by: Sangbeom Kim
Acked-by: Jassi Brar
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
24 Jun, 2011
7 commits
-
Don't rely on the codec's channels_min information to decide wheter or
not allocate a substream's DMA buffer. Rather check if the substream
itself was allocated previously.Signed-off-by: Daniel Mack
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
Cc: stable@kernel.org -
- add some modules aliases
- add module license to avoid tainted kernel when loading the imx-pcm-audio
driverSigned-off-by: Arnaud Patard
Acked-by: Sascha Hauer
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
SND_MXC_SOC_SSI looks to be unused, so kill it.
Signed-off-by: Arnaud Patard
Acked-by: Sascha Hauer
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
The WM8918 is register compatible with the WM8904 with a subset of the
functionality. Add the device ID, a subsequent patch will ensure that only
the relevant functionality is exported to userspace.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
Some devices do not support manual updates of the DC servo.
Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
Allowing the two to be used independently.
Signed-off-by: Mark Brown
Acked-by: Liam Girdwood
23 Jun, 2011
2 commits
-
Signed-off-by: Johannes Stezenbach
[zonque@gmail.com: transform to new ASoC structure]
Signed-off-by: Daniel Mack
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Signed-off-by: Johannes Stezenbach
[zonque@gmail.com: transform to new ASoC structure]
Signed-off-by: Daniel Mack
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
22 Jun, 2011
1 commit
-
The base hardware revision of the Maxim 98095 part is 0x40; the code
which outputs the revision of the hardware has been updated to
properly use uppercase alphabetic values for the revision numbers.Also, the use of a constant for the length 'max98095_dai' has been
replaced with ARRAY_SIZE().Signed-off-by: Taylor Hutt
Acked-by: Peter Hsiang
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
21 Jun, 2011
1 commit
-
"ret" is supposed to be signed here. The current code will only
return -EIO on error, instead of a more appropriate error code such
as -EAGAIN etc.Signed-off-by: Dan Carpenter
Acked-by: Lars-Peter Clausen
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
20 Jun, 2011
1 commit
-
Previously we were using the DAPM context rather than a widget as the
argument for update_bits() so we didn't need to care that our list walk
of widgets left us one beyond the end of the list. Now we're using them
for the register update we need to make sure we're pointing at an actual
widget not the list_head.Fix originally suggested by Liam on IM.
Signed-off-by: Mark Brown
Acked-by: Liam Girdwood
18 Jun, 2011
2 commits
-
The Sigma code is in drivers/firmware which is only included on a very
small subset of architectures and so ends up breaking the build on
others. There's a pending patch to make the directory build as standard
but it's not merged yet.Signed-off-by: Mark Brown
-
Signed-off-by: Mark Brown
Acked-by: Liam Girdwood
Acked-by: Mike Frysinger
17 Jun, 2011
1 commit
-
This board has hardware switches for selecting SPI or I2C, so don't
require I2C for this driver.Signed-off-by: Mike Frysinger
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
16 Jun, 2011
8 commits
-
Use less specific names for suspend/resume to match the probe/remove funcs
where these are now used.Signed-off-by: Barry Song
Signed-off-by: Scott Jiang
Signed-off-by: Mike Frysinger
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
The codec name should not have a "-codec" suffix since this is not part of
a MFD. This was incorrectly changed during the multi-component updated.Signed-off-by: Mike Frysinger
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Signed-off-by: Mike Frysinger
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
The only thing the init func does is register a spi driver, so if that
fails, we return the value back up to the caller who will display an
error message for us. So drop the redundant checking/message.Signed-off-by: Mike Frysinger
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Signed-off-by: Mike Frysinger
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Add a machine driver to support the ADAU1701 SigmaDSP processors on
Analog Devices BF5XX evaluation boards.Signed-off-by: Lars-Peter Clausen
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
This patch adds support for the Analog Devices ADAU1701 SigmaDSP.
Signed-off-by: Lars-Peter Clausen
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Signed-off-by: Mark Brown
Acked-by: Liam Girdwood
14 Jun, 2011
7 commits
-
This time with soc_widget_update_bits reflecting recent soc_update_bits changes.
Currently widget IO is tightly coupled to the CODEC drivers. Future platform DSP
devices have mixer components that can alter power usage and hence require full
DAPM support.This provides a generic widget IO operation wrapper in preparation for
future patches that implement platform driver DAPM.Signed-off-by: Liam Girdwood
Signed-off-by: Mark Brown -
Signed-off-by: Mark Brown
-
Trival fixup for move of I/O code into separate file.
Conflicts:
sound/soc/soc-cache.c -
This will be removed in -next so let's drop it from mainline as soon as
we can in order to minimise surprises.Signed-off-by: Mark Brown
-
In order to facilitate merging with the register map I/O replace the use
of control_data for the bulk writes with direct lookup of the client data
from the device.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
Normally DAPM will power up any connected audio path. This is not ideal
for sidetone paths as with sidetone paths the audio path is not wanted in
itself, it is only desired if the two paths it provides a sidetone between
are both active. If the sidetone path causes a power up then it can be
hard to minimise pops as we first power up either the sidetone or the main
output path and then power the other, with the second power up potentially
introducing a DC offset.Address this by introducing the concept of a weak path. If a path is marked
as weak then DAPM will ignore that path when walking the graph, though all
the relevant controls are still available to the application layer to allow
these paths to be configured.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
For clarity and to help ongoing refactoring in this area create a new file
to contain the physical I/O functions, separating them out from the cache
operations.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood
13 Jun, 2011
1 commit
-
We've got a whole bunch of functions which just call straight through to
do_hw_read(). Simplify this situation by removing them and using hw_read()
directly.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood