01 Feb, 2008
28 commits
-
Don't take the codec mutex during machine probe until we have registered
with ALSA, fixing a lockdep warning reported by Dmitry Baryshkov.
Cc: Dmitry BaryshkovSigned-off-by: Mark Brown
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Enable mmap support in the MPC8610 ASoC driver. The driver can use ALSA's
default mmap functionality, it was just not enabled previously.Signed-off-by: Timur Tabi
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Add the ASoC drivers for the Freescale MPC8610 SoC and the MPC8610 HPCD
reference board.Signed-off-by: Timur Tabi
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Currently only the AUX channel is used (touchscreen)
Signed-off-by: Ian Molton
Signed-off-by: Mark Brown
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Support for suspend/resume for the S3C2412 ASoC IIS
core driver.Signed-off-by: Ben Dooks
Signed-off-by: Mark Brown
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
S3C2412 SoC IIS support for ALSA/ASoC
Signed-off-by: Ben Dooks
Signed-off-by: Mark Brown
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Graeme Gregory
Signed-off-by: Mark Brown
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This one changes the DMA initialisation as it turns out the DMA driver
in s3c24xx doesnt store registers between suspend/resume so you have
to re-initialise the channels on every resume.Signed-off-by: Graeme Gregory
Signed-off-by: Mark Brown
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Liam Girdwood
Signed-off-by: Mark Brown
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
snd_soc_dapm_new_widgets() takes the codec lock when adding new widgets,
causing lockdep warnings when applications later call down through ALSA
to adjust controls. Since widgets are only added during probe this lock
should be unneeded so don't take it.
Thanks to Dmitry Baryshkov for reporting this issue.
Cc: Dmitry BaryshkovSigned-off-by: Mark Brown
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Laim Girdwood
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Liam Girdwood
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Milan plzik
Signed-off-by: Liam Girdwood
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This fixes a bug whereby PCMs were not being suspended when the rest of the
audio subsystem was suspended.Signed-off-by: Liam Girdwood
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Liam Girdwood
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Add TLV support to ASoC.
Signed-off-by: Philipp Zabel
Signed-off-by: Liam Girdwood
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added a device level dapm event so that both the machine and codec are informed
when dapm events occur.Signed-off-by: Liam Girdwood
Signed-off-by: Mark Brown
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Joe Sauer
Signed-off-by: Liam Girdwood
Signed-off-by: Mark Brown
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This header file exists only for some hacks to adapt alsa-driver
tree. It's useless for building in the kernel. Let's move a few
lines in it to sound/core.h and remove it.
With this patch, sound/driver.h isn't removed but has just a single
compile warning to include it. This should be really killed in
future.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
The functions time_before, time_before_eq, time_after, and time_after_eq
are more robust for comparing jiffies against other values.
A simplified version of the semantic patch making this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)
//
@ change_compare_np @
expression E;
@@
(
- jiffies = E
+ time_after_eq(jiffies,E)
|
- jiffies < E
+ time_before(jiffies,E)
|
- jiffies > E
+ time_after(jiffies,E)
)
@ include depends on change_compare_np @
@@
#include
@ no_include depends on !include && change_compare_np @
@@
#include
+ #include
//Signed-off-by: Julia Lawall
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fix s3c24xx include file path changes in asoc driver
Signed-off-by: Harald Welte
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
When CONFIG_SND_SOC_CS4270_VD33_ERRATA is set, there was a mismatch between
the mclk_ratios[] and cs4270_mode_ratios[] arrays. The two arrays have been
merged and code has been shuffled. One side effect is that the
cs4270_set_dai_sysclk() and cs4270_set_dai_fmt() functions are available only
if I2C has been enabled.Signed-off-by: Timur Tabi
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Disable the simultaneous load feature for the line in and headphone
out volume registers. This allows left and right volume levels to
be controlled separately.Signed-off-by: Ville Syrjala
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch adds ALSA SoC support for TI TLV320AIC3X audio codecs.
The features that are supported:
o Capture/Playback/Bypass.
o 16/20/24/32 bit audio.
o 8k - 96k sample rates.
o codec master only mode
o DAPM.Signed-off-by: Vladimir Barinov
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
On Zaurus SL-C3200 (terrier/spitz) based on WM8750, treble scale is
inconveniently reverted (increase level = decrease treble), in opposite
to bass scale, which uses convenient scale.
Fix ALSA WM8750 mixer treble to use convenient treble scale (increase =
increase treble level)
From: Stanislav BrabecSigned-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Change loops in ac97_read/write functions to count down to zero
rather than up. Gcc will then use the 'dt' (decrement-and-test) op
instead of an increment/compare op-pair.Signed-off-by: Manuel Lauss
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch adds ac97 support for ln2440sbc board from LittleChips.
This board is based on s3c2440 SoC + AC97 Realtek ALC650 codec.
Existing s3c2443 implementation is slightly modified because s3c2440
and s3c2443 have different AC97 interrupts.Signed-off-by: Ivan Kuten
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
The following patch adds 'Mono Playback Switch' control to WM9712 codec
SoC driver.
Also, it fixes Treble, Bass and Mono playback volume inversion bits.Signed-off-by: Mike Rapoport
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
28 Jan, 2008
1 commit
-
Signed-off-by: Jean Delvare
08 Dec, 2007
2 commits
-
Fix CKEN register corruption in the PXA27x cold reset code
located in sound/arm/pxa27x-ac97.c. The problem has been
introduced with a pxa_set_cken() function change in linux 2.6.23.
This patch is based on patch 4527/1 that fixes the same problem in
the ASoC PXA-AC97 driver. Additionally a definition for the CKEN
index value is added and applied to both PXA AC97 drivers.Signed-off-by: Michael Brunner
Signed-off-by: Russell King
21 Nov, 2007
2 commits
-
Fix the calculation of the private_data pointer in the CS4270 driver.
Signed-off-by: Timur Tabi
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
The Samsung S3C24xx uses new architecture file layout in the post 2.6.23
kernel. This patch fixes include path for the s3c2443-ac97.c.Signed-off-by: Krzysztof Helt
Signed-off-by: Andrew Morton
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
20 Oct, 2007
1 commit
-
Fix the various misspellings of "system", controller", "interrupt" and
"[un]necessary".Signed-off-by: Robert P. J. Day
Signed-off-by: Adrian Bunk
16 Oct, 2007
6 commits
-
Fix schedule_timeout() use in alsa-kernel. Mostly just
schedule_timeout(1) --> schedule_timeout_uninterruptible(1)
The wavefront_synth one fixes the surrounding loop as well. In ymfpci_main,
delete a superfluous set_current_state() and in soc/soc-dapm.c replace an
_interruptible with _uninterruptible in some debug code; it's not waiting
for signals.Signed-off-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
The volume control for the CS4270 ASoC driver was inverted - raising the
volume level with alsamixer would decrease the actual volume.
This patch also improves the performance of the I2C code (used to change
register settings) by only performing an I2C write if the new value is
different from the value that's in the register cache.Signed-off-by: Timur Tabi
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Add a snd_pcm_rate_to_rate_bit() function to factor out common code used
by several drivers.Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
ioremap / iounmap balancing in sound/soc tree
Signed-off-by: Scott Thompson hushmail.com>
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fix compilation errors with the CS4270 when I2C is not enabled. Updated
some comments to indicate that that stand-alone mode is not fully implemented,
because there is no mechanism for the CS4270 driver and the machine driver to
communicate the values of various input pins.Signed-off-by: Timur Tabi
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch adds ALSA SoC support for the Cirrus Logic CS4270 codec. The
following features are suppored:
1) Stand-alone and software mode
2) Software mode via I2C only
3) Master mode, not Slave
4) No power managementSigned-off-by: Timur Tabi
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela