01 Oct, 2006
7 commits
-
This patch removes readv() and writev() methods and replaces them with
aio_read()/aio_write() methods.Signed-off-by: Badari Pulavarty
Signed-off-by: Christoph Hellwig
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Switch trident to use pci_get/put_dev properly. Also fix a bug where the
driver erroneously passed pdev not NULL to a second search. This happened
to always work except with pci=reverse because of chip ordering.Signed-off-by: Alan Cox
Signed-off-by: Muli Ben-Yehuda
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Convert various spin_lock_irqsave() callers to correctly use `unsigned long'.
Signed-off-by: Alexey Dobriyan
Cc: Miles Bader
Cc: "Luck, Tony"
Acked-by: Kyle McMartin
Cc: Jean Delvare
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Fairly trivial change in this case
Signed-off-by: Alan Cox
Cc: Greg KH
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
pci_find_device is not refcounting and should be getting killed off.
Signed-off-by: Alan Cox
Cc: Greg KH
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Add maximum latency tracking to the ALSA subsystem for PCM playback. In
ALSA, the playback application controls the buffer size and thus indirectly
the period of latency that it can deal with. This patch uses 75% of the
total available latency as threshold to announce to the latency subsystem;
While 75% is a crude heuristic it's a quite reasonable one; the remaining
25% can be used for all driver processing for the next samples which is
also proportional to the size of the buffer.With ogg123 a latency setting of about 4msec was seen (at 44Khz), while
with the "play" command a much longer maximum tolerable latency was seen.
Other, more multimedia oriented players as well as games, will have a lot
smaller buffers to allow better synchronization and those will actually get
into the latency domains where there is impact on the power management
rules.Signed-off-by: Takashi Iwai
Signed-off-by: Arjan van de Ven
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
30 Sep, 2006
6 commits
-
All sound/sound_firmware.c contains is mod_firmware_load() that is a legacy
API only used by some OSS drivers.This patch builds it into an own sound_firmware module that is only built
depending on CONFIG_SOUND_PRIME making the kernel slightly smaller for ALSA
users.[alan@lxorguk.ukuu.org.uk: comment fix]
Signed-off-by: Adrian Bunk
Acked-by: Takashi Iwai
Signed-off-by: Alan Cox
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This appears to be a verbatim copy-n-paste of the GPL.
Cc: Pavel Machek
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0])
Signed-off-by: Tobias Klauser
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0])
Signed-off-by: Tobias Klauser
Cc: Ralf Baechle
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Remove some code which is unneeded if CONFIG_PM=n.
* Make suspend/resume registration look like the rest of drivers:
#ifdef CONFIG_PM in struct pci_driver, prototypes, actual hooks.
* Drop CS46XX_ACPI_SUPPORT. It logically duplicated CONFIG_PM. It was
hardcoded to 1 approx forever (ALSA merge just moved driver to
sound/oss/).
* After previous point, sound/oss/cs46xxpm-24.h removed as being useless.
* As side effect selling (unused) static inline functions as suspend/resume
hooks funkiness removed too.Signed-off-by: Alexey Dobriyan
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Remove some code which is unneeded if CONFIG_PM=n.
Signed-off-by: Alexey Dobriyan
Ackde-by: Muli Ben-Yehuda
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
28 Sep, 2006
1 commit
-
The purpose of this patch is to split off the case when a device does
not reply on the lower level (which is reported by HC hardware), and
a case when the device accepted the request, but does not reply at
upper level. This redefinition allows to diagnose issues easier,
without asking the user if the -110 happened "immediately".The usbmon splits such cases already thanks to its timestamp, but
it's not always available.I adjusted all drivers which I found affected (by searching for "urb").
Out of tree drivers may suffer a little bit, but I do not expect much
breakage. At worst they may print a few messages.Signed-off-by: Pete Zaitcev
Signed-off-by: Greg Kroah-Hartman
27 Sep, 2006
2 commits
-
Update the SH DAC audio driver for the clock framework.
Signed-off-by: Andriy Skulysh
Signed-off-by: Paul Mundt -
Some minor cleanups for the updated consolidated hp6xx
mach-type.Signed-off-by: Andriy Skulysh
Signed-off-by: Paul Mundt
26 Sep, 2006
2 commits
-
The third argument of au1xxx_dbdma_chan_alloc's callback function is not
used anywhere.Signed-off-by: Ralf Baechle
Cc: David Howells
Cc: Russell King
Cc: Alan Cox
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Fixes section-mismatch errors.
Signed-off-by: David S. Miller
25 Sep, 2006
1 commit
-
Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds
23 Sep, 2006
21 commits
-
Free the irq handler in suspend and reacquire in resume as well as
intel8x0 audio driver does. Some devices may change the irq line
dynamically during suspend/resume.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Moved the entry of CONFIG_SND_AC97_POWER_SAVE from drivers/Kconfig to
more appropriate place, pci/Kconfig.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Add a mixer name map for the TerraTec Aureon 5.1 MkII USB.
Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
Remove the duplicate and inconsistent initialization of the kcontrol
access field.Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
To decrease the USB interrupts rate, increase both the default and the
maximum number of packets per URB.Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
Fix/optimize the headphone auto-toggle function on sigmatel codecs.
The headphone pins are kept as output. When headhpones are unplugged,
you cannot hear anyway ;)Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
A slight cleanup of timeout check in azx_get_response() to check
jiffies for HZ-independent timeout.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fixed mic input with STAC92xx codecs. The mic pin was sometimes set to
OUTPUT by the headphone jack detection.
Also, try to assign a secondary mic as front-mic (or vice versa)
in the auto-detection if possible.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
mixart: Use SEEK_{SET,CUR,END} instead of hardcoded values
Signed-off-by: Josef 'Jeff' Sipek
Signed-off-by: Andrew Morton
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
gus: Use SEEK_{SET,CUR,END} instead of hardcoded values
Signed-off-by: Josef 'Jeff' Sipek
Signed-off-by: Andrew Morton
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
opl4: Use SEEK_{SET,CUR,END} instead of hardcoded values
Signed-off-by: Josef 'Jeff' Sipek
Signed-off-by: Andrew Morton
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
sound core: Use SEEK_{SET,CUR,END} instead of hardcoded values
Signed-off-by: Josef 'Jeff' Sipek
Signed-off-by: Andrew Morton
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Some machines have multiple headpohne pins (usually on the lpatop
and on the docking station) while the current hda-codec driver
assumes a single headphone pin. Now it supports multiple hp pins
(at least for detection).
The sigmatel 92xx code supports this new multiple hp pins.
It detects all hp pins for auto-muting, too.
Also, the driver checks speaker pins in addition. In some cases,
all line-out, speaker and hp-pins coexist.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
If I understand the hda_intel code, for format > 20bit it only advertise
the SNDRV_PCM_FMTBIT_S32_LE format and play it at 32 bit, 20 bit or 24 bit.
But if the 20bit and 24bit are available, actually it prefer the 20bit
format. This path is to prefer the 24bit format instead of 20bit.Signed-off-by: Nicolas Graziano
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added string entries for Motorola and Conexant vendor ids.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added the device id for Motorola si3054-compatible modem codec
on a Gateway laptop.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added the missing 32bit-compat ioctl entries for ALSA control API
(espcially for recent additions of TLV stuff).Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fixed Oops when conflictin with aoa driver due to lack of
i2c initialization.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Looks like I completely forgot to do this. This patch adds locking to
the tas codec so two userspace programs can't hit the controls at the
same time. Tested on my powerbook, but I obviously can't find any
problems even without it since it doesn't do SMP.Signed-off-by: Johannes Berg
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fixed suspend/resume with MSI enablement.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Remove IPGA volume controls and merge the IPGA range to ADC volume
controls. These two volumes are not really independent but connected
simply in different ranges 0-0x7f and 0x80-max. It doesn't make sense
to provide two controls.
Since both 0x7f and 0x80 specify 0dB, a hack is needed for IPGA range
to skip 0x80 (increment one) for such controls.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela