14 Feb, 2007
2 commits
-
Signed-off-by: Jaroslav Kysela
-
fix a typo
Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela
13 Feb, 2007
1 commit
-
Many struct file_operations in the kernel can be "const". Marking them const
moves these to the .rodata section, which avoids false sharing with potential
dirty data. In addition it'll catch accidental writes at compile time to
these shared resources.Signed-off-by: Arjan van de Ven
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
09 Feb, 2007
31 commits
-
The fix for sysfs breakage with CONFIG_SYSFS_DEPRECATED was flown
away by the conflicted merge of the ALSA git tree. The patch below
fixes it again.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Jaroslav Kysela
-
This patch updates the API's to include the new DAI configuration and
clocking architecture.
Changes:-
o Removed DAI automatic matching and capabilities structure (struct
snd_soc_dai_mode) and macros.
o Added DAI operations for codec and CPU interfaces.
o Removed config_sysclk() function and struct snd_soc_clock_info. No
longer needed as clocking is now configured manually in the machine
drivers. Also removed other clocking data from structures.
o Updated version to 0.13
o Added shift to SOC_SINGLE_EXT kcontrol macro.Signed-off-by: Graeme Gregory
Signed-off-by: Liam Girdwood
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Mark TLV data as 'const'
Signed-of-by: Philipp Matthias HahnSigned-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Make data passed to ak4xxx_create 'const'.
Signed-of-by: Philipp Matthias HahnSigned-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fix ABI for older ld10k1. When no EMU10K1_PVERSION ioctl is issued,
the driver accepts ioctls with the old struct size without TLV information.
Also, changed the struct field to make the conversion easier from the
old to the new structs.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Previously, ac97_codec.c was coded to support AD1986 and AD1986A
CODECs using code written for the AD1985 CODEC. This allowed the
LINE_OUT and HEADPHONE jacks to function properly, however register
differences between the CODECs prevented line and microphone inputs
from functioning.
Specifically, this patch fixes issues with the following mixer
controls: 'V_REFOUT', 'Spread Front to Surround and Center/LFE',
'Exchange Front/Surround', 'Surround Jack Mode', and 'Channel Mode'.
This patch removes the undocumented AD1888 control
'High Pass Filter Enable' and adds the new control
'Exchange Mic/Line In'.Signed-off-by: Randy Cushman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fix the changes realted to delayed_work in soc/codecs/wm8750.c.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Use global workqueue for simplicity instead of own workqueue.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
From: Andrew Morton
I converted the workqueues to per-device while I was there. It seems
strange to create a new kernel thread (on each CPU!) and to then only
have a single global work to ever be queued upon it.
Plus without this, I'd have to use the _NAR stuff, gawd help me.
Does that workqueue really need to be per-cpu?
Does that workqueue really need to exist? Why not use keventd?
Cc: Takashi Iwai
Cc: David HowellsSigned-off-by: Andrew Morton
Signed-off-by: Jaroslav Kysela -
Signed-off-by: James Courtier-Dutton
Signed-off-by: Jaroslav Kysela -
fixes: include/sound/pcm.h:62: warning: 'struct snd_pcm_substream' declared
inside parameter listSigned-off-by: Randy Dunlap
Signed-off-by: Andrew Morton
Signed-off-by: Jaroslav Kysela -
Implement functionallity in order to fixe ALSA bug#2058.
Signed-off-by: James Courtier-Dutton
Signed-off-by: Jaroslav Kysela -
Following patch will make the driver to use the 44.1kHz SRC automatically
if the pcm source is 44.1kHz signed 16bit stereo.
The SRC is available in YMF754 only.Signed-off-by: Teru KAMOGASHIRA
Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
Added a helper function snd_pci_quirk_lookup()
to look up PCI SSID quirk list.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Removed obsolete typedefs.h. It existes only for backward compatibility,
and now all codes should be free from such typedefs.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Now that everyone uses snd_ctl_new1() and noone is using snd_ctl_new()
anymore, we can make it static.Signed-off-by: Adrian Bunk
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Instead of using a somewhat algorithmic approach of initializing the
YSS225's registers, just use a simple series of port/value pairs.
This makes it easier to later replace or entirely remove the register
data blob.Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
Load the CSP programs using request_firmware(), if possible, instead of
using the built-in firmware blobs.Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
Don't enable power-saving mode on drivers that don't support
it. The supporting drivers set AC97_SCAP_POWER_SAVE to scaps
at creation of ac97 instance.
Currently enable on the following drivers: intel8x0, intel8x0m,
atiixp, atiixp-modem, via82xx and via82xx-modem.
Also, a bit clean up of power-saving stuff:
- Don't create an own workq
- Remove superfluous ifdefsSigned-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch adds support for the DAI BCLK to be generated by multiplying
Rate * Channels * Word Size (RCW).
This now gives 3 options for BCLK clocking and synchronisation :-
1. BCLK = Rate * x
2. BCLK = MCLK / x
3. BCLK = Rate * Chn * Word Size. (New)
Changes:-
o Add support for RCW generation of BCLK
o Update Documentation to include RCW.
o Update DAI documentation for label = value DAI modes.
o Add RCW support to wm8731, wm8750 and pxa2xx-i2s drivers.Signed-off-by: Liam Girdwood
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Load the DSP and controller microcode using request_firmware(), if
possible, instead of using the built-in firmware.Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
Signed-off-by: James Courtier-Dutton
Signed-off-by: Jaroslav Kysela -
Signed-off-by: James Courtier-Dutton
Signed-off-by: Jaroslav Kysela -
This patch adds the ASoC and DAPM headers.
Features:-
o Defines Digital Audio Interface (DAI) API
o Defines Codec, Platform and Machine API
o Defines Dynamic Audio Power Management APISigned-off-by: Richard Purdie
Signed-off-by: Liam Girdwood
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Users ask us many times about the maximum DMA size for PCM devices. This
file gives them a hint in KB.Signed-off-by: Jaroslav Kysela
-
This patch adds a struct device pointer to struct snd_pcm in order to be
able to give it a different device than the card. It defaults to the card's
device, however, so it should behave identically for drivers not touching
the field.Signed-off-by: Johannes Berg
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch adds snd_register_device_for_dev taking a struct device
pointer to link the new device to and makes snd_register_device a simple
static inline wrapper around it.Signed-off-by: Johannes Berg
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Enable the analog loopback of the Revolution 5.1 card.
This patch adds support for the PT2258 volume controller and modifies
the Revolution 5.1 driver to make use of this facility. This allows
to control the analog loopback of the card.Signed-off-by: Jochen Voss
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Enable capture from line-in and CD on the Revolution 5.1 card.
This patch adds support for switching between the 5 input channels of
the AK5365 ADC and modifies the Revolution 5.1 driver to make use of
this facility. Previously the capture channel was fixed to channel 0
(microphone on the Revolution 5.1 card).Signed-off-by: Jochen Voss
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: James Courtier-Dutton
Signed-off-by: Jaroslav Kysela
30 Jan, 2007
1 commit
-
The recent change for a new sysfs tree with card* object breaks the
/sys/class/sound tree if CONFIG_SYSFS_DEPRECATED is enabled.
The device in each entry doesn't point the correct device object:/sys/class/sound
...
|-- pcmC0D0c
| |-- dev
| |-- device -> ../../../class/sound/card0
| |-- pcm_class
| |-- power
| | `-- wakeup
| |-- subsystem -> ../../../class/sound
| `-- ueventAlso, this change breaks some drivers (like sound/arm/*) referring
card->dev directly to obtain the device object for memory handling.This patch reverts the semantics of card->dev to the former version,
which points to a real device object. The card* object is stored in a
new card->card_dev field, instead. The device parent is chosen either
card->dev or card->card_dev according to CONFIG_SYSFS_DEPRECATED to
keep the tree compatibility.
Also, card* isn't created if CONFIG_SYSFS_DEPRECATED is enabled. The
reason of card* object is a root of all beloing devices, and it makes
little sense if each sound device points to the real device object
directly.Signed-off-by: Takashi Iwai
Acked-by: Monty Montgomery
Signed-off-by: Greg Kroah-Hartman
09 Jan, 2007
1 commit
-
Signed-off-by: Jaroslav Kysela
20 Dec, 2006
4 commits
-
Signed-off-by: Jaroslav Kysela
-
Fix the type of PCI revision to char from int and avoid invalid
assignment with pointer cast.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fixed the race among multiple threads accessing the OSS PCM
instance concurrently by simply introducing a mutex for protecting
a setup of the PCM.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch fixes incorrect assignment of swap_rear,
which was broken since patch 'ymfpci - make rear channel swap optional'
It removes module_param rear_swap.Signed-off-by: Glen Masgai
Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela