08 Apr, 2011
1 commit
-
* 'for-linus2' of git://git.profusion.mobi/users/lucas/linux-2.6:
Fix common misspellings
31 Mar, 2011
1 commit
-
Fixes generated by 'codespell' and manually reviewed.
Signed-off-by: Lucas De Marchi
28 Mar, 2011
1 commit
-
…ie/sound-2.6 into fix/asoc
25 Mar, 2011
1 commit
-
It's a big no-no to use pgprot_noncached() when mmap'ing such buffers
into userspace since they are mapped cachable in kernel space.This can cause all sort of interesting things ranging from to garbled
sound to lockups on various architectures. I've observed that usb-audio
is broken on powerpc 4xx for example because of that.Also remove the now unused snd_pcm_lib_mmap_noncached(). It's
an arch business to know when to use uncached mappings, there's
already hacks for MIPS inside snd_pcm_default_mmap() and other
archs are supposed to use dma_mmap_coherent().(See my separate patch that adds dma_mmap_coherent() to powerpc)
Signed-off-by: Benjamin Herrenschmidt
CC:
Signed-off-by: Takashi Iwai
24 Mar, 2011
1 commit
-
This stops code that handles widgets generically from attempting to access
registers for these widgets.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood
Cc: stable@kernel.org
18 Mar, 2011
1 commit
11 Mar, 2011
1 commit
-
Added a new API function snd_ctl_activate_id() for activate / inactivate
the control element dynamically.Signed-off-by: Takashi Iwai
Signed-off-by: Mark Brown
09 Mar, 2011
3 commits
-
Currently will ignore prefixes when creating DAPM controls. Since currently
all control creation goes through snd_soc_cnew() we can fix this by factoring
the prefixing into that function.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
When multi component systems use DAIless amplifiers which require clocking
configuration it is at best hard to use the current clocking API as this
requires a DAI even though the device may not even have one. Address this
by adding set_sysclk() and set_pll() operations and APIs for CODECs.In order to avoid issues with devices which could be used either with or
without DAIs make the DAI variants call through to their CODEC counterparts
if there is no DAI specific operation. Converting over entirely would create
problems for multi-DAI devices which offer per-DAI clocking setup.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
Allow a slight simplification of CODEC drivers by allowing DAPM routes and
widgets to be provided in a table. They will be instantiated at the end of
CODEC probe.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood
05 Mar, 2011
1 commit
-
This patch adds support for tlv320aic3205 and tlv320aic3254 codecs.
It doesn't include miniDSP support for aic3254.Signed-off-by: Javier Martin
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
03 Mar, 2011
3 commits
-
This is run after the DAPM widgets and routes are added, allowing setup
of things like jacks using the routes. The main card probe() is run before
anything else so can't be used for this purpose.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
These will be added after all devices are registered and allow most DAI
init functions in machine drivers to be replaced by simple data.
Regular controls are not supported as the registration function still
works in terms of CODECs.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
This means that rather than adding the board specific DAPM widgets to a
random CODEC DAPM context they can be added to the card itself which is
a bit cleaner. Previously there only was one DAPM context and it was
tied to the single supported CODEC.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood
02 Mar, 2011
1 commit
-
The WM9081 IRQ output can be either active high or active low and can
support either CMOS or open drain modes.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood
19 Feb, 2011
2 commits
-
Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
Some systems wish to use jacks as wake sources. Provide a wake flag in the
GPIO configuration which causes the driver to enable the IRQ as a wake
source.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood
18 Feb, 2011
1 commit
-
Use AC97 macros (sometimes already existing, or newly added)
instead of error-prone repetition of open-coded values.Signed-off-by: Andreas Mohr
Signed-off-by: Takashi Iwai
15 Feb, 2011
1 commit
-
Change the core code where sparse complains. In most cases, this means
just adding annotations to confirm that we indeed want to do the dirty
things we're doing.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai
14 Feb, 2011
2 commits
-
* There is no hysteresis enable field in the current datasheet.
* Mic detection threshold field is only 2 bits wide.Signed-off-by: Stephen Warren
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
10 Feb, 2011
1 commit
-
This patch adds soc-jack support for adding voltage zones and for
detecting jack typeSigned-off-by: Vinod Koul
Signed-off-by: Harsha Priya
Signed-off-by: Mark Brown
08 Feb, 2011
1 commit
-
Move Chip Select control out of the CODEC code for CS4271.
Signed-off-by: Alexander Sverdlin
Reviewed-by: H Hartley Sweeten
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
28 Jan, 2011
1 commit
-
Provide driver data for cards within the card structure. To simplify the
implementation of the PM operations we don't use the struct device driver
data as this is used by the core to retrieve the card in callbacks from
the device model and PM core.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood
27 Jan, 2011
8 commits
-
Signed-off-by: Jaroslav Kysela
Signed-off-by: Takashi Iwai -
Allows drivers to distinguish which subsequence is being notified when
they get called back.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
Could just as well live in sysfs but sysfs doesn't have the simple
value export helpers debugfs does.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
Allow hookup of cards registered directly with the core to the PM
operations by exporting the device power management operations to
modules, also exporting the default PM operations since it is
expected that most cards will end up using exactly the same setup.Note that the callbacks require that the driver data for the card be
the snd_soc_card.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
In order to support cards instantiated without using soc-audio remove
the use of the platform device in the card probe() and remove() ops.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
The platform device for the card is tied closely to the soc-audio
implementation which we're currently trying to remove in favour of
allowing cards to have their own devices. Begin removing it by
replacing it with the card in the suspend and resume callbacks we
give to cards, also taking the opportunity to remove the legacy
suspend types which are currently hard coded anyway.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
As requested by Takashi and Jaroslav, these arrays should not be in the
header file.Signed-off-by: Adrian Knoth
Signed-off-by: Jaroslav Kysela
Signed-off-by: Takashi Iwai -
Incorporate changes by Florian Faber into hdspm.c. Code taken from
http://wiki.linuxproaudio.org/index.php/Driver:hdspe
Heavily reworked to mostly comply with the coding standard (whitespace
fixes, line width, C++ style comments)The code was tested and confirmed to be working on RME RayDAT.
Signed-off-by: Adrian Knoth
Signed-off-by: Jaroslav Kysela
Signed-off-by: Takashi Iwai
26 Jan, 2011
1 commit
-
Current format selection of FSI-codecs depended on platform information for FSI,
and chip default settings for codecs. It is not understandable/formal method.
This patch modify FSI and FSI-codecs to use snd_soc_dai_set_fmt.But FSI can use I2S/PCM and SPDIF format today.
It can be selected to I2S/PCM by snd_soc_dai_set_fmt, but can not select SPDIF.
So, this patch change FSI platform information to have DAI/SPDIF mode.If platform selects DAI mode (default),
FSI-codecs can select I2S/PCM by snd_soc_dai_set_fmt,
and if it is SPDIF mode, FSI become SPDIF format.Signed-off-by: Kuninori Morimoto
Acked-by: Paul Mundt
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
25 Jan, 2011
2 commits
-
We have zero users for PGA controls and the core support for them was
removed a while ago so no point in cut'n'pasting them into new macros,
even if it's too much hassle to update the existing ones.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
We generally refer to registers as unsigned ints (including in the
underlying CODEC driver operation).Signed-off-by: Mark Brown
Acked-by: Liam Girdwood
22 Jan, 2011
3 commits
-
This patch add snd_soc_dai_ops :: set_fmt to FSI driver and
select master/slave clock mode by snd_soc_dai_set_fmt on
fsi-xxx.c instead of platform infomation code.
This patch remove fsi_is_master function which is no longer needed.Signed-off-by: Kuninori Morimoto
Acked-by: Liam Girdwood
Acked-by: Paul Mundt
Signed-off-by: Mark Brown -
Added support for CS4271 codec to ASoC.
Signed-off-by: Alexander Sverdlin
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Also, update platform_data GPIO handling to have an explicit "don't
touch this pin" option.Add #defines for the GPIO pin functions.
Signed-off-by: Stephen Warren
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
20 Jan, 2011
1 commit
-
This is primarily needed to avoid writing back to the cache
whenever we are syncing the cache with the hardware. This gives a
performance benefit especially for large register maps.Signed-off-by: Dimitris Papastamos
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
19 Jan, 2011
1 commit
-
Many modern devices have features such as DC servos which take time to start.
Currently these are handled by per-widget events but this makes it difficult
to paralleise operations on multiple widgets, meaning delays can end up
being needlessly serialised. By providing a callback to drivers when all
widgets of a given type have been handled during a DAPM sequence the core
allows drivers to start operations separately and wait for them to complete
much more simply.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood