kernel/kernel-generic.git
18 years ago[ALSA] Add hp_only quirk for pci id [161f:2032] to via82xx
Daniel T Chen [Fri, 16 Jun 2006 14:21:54 +0000 (16:21 +0200)]
[ALSA] Add hp_only quirk for pci id [161f:2032] to via82xx

http://www.kernel.org/git/?p=linux/kernel/git/bcollins/ubuntu-dapper.git;a=commitdiff;h=eae2cc78de39502595f67b7fc1f821f5963bb8ae
UpstreamStatus: Not merged
Christian Bjalevik reports in LP#38546 that his sound chipset requires
the 'hp_only' quirk to allow him to control sound volume correctly when
headphones are inserted. This patch adds the appropriate pci id to the
via82xx ALSA driver so that the quirk is applied automatically, thereby
removing the need for users to modify /etc/modprobe.d/alsa-base (or to
unload and reload snd-via82xx with ac97_quirk=hp_only).
This patch closes LP#38546.

Signed-off-by: Daniel T Chen <crimsun@ubuntu.com>
Signed-off-by: Ben Collins <bcollins@ubuntu.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] sound/pci/: Add hp_only quirk for Dell D800 laptops
Daniel T Chen [Fri, 16 Jun 2006 10:13:00 +0000 (12:13 +0200)]
[ALSA] sound/pci/: Add hp_only quirk for Dell D800 laptops

http://www.kernel.org/git/?p=linux/kernel/git/bcollins/ubuntu-dapper.git;a=commitdiff;h=9ad787cd9670c3f3b8f3db235e84baf00a2ea526
Anders Ostling comments in Malone #41015 that his Dell D800 laptop's
volume control works correctly when the hp_only quirk is passed to
modprobe. This commit adds his hardware's sub{vendor,device} ids to
the quirk list for the intel8x0 driver.

Signed-off-by: Daniel T Chen <crimsun@ubuntu.com>
Signed-off-by: Ben Collins <bcollins@ubuntu.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] cs5535audio - trivial debug printk
Jaya Kumar [Tue, 13 Jun 2006 10:01:14 +0000 (12:01 +0200)]
[ALSA] cs5535audio - trivial debug printk

Following is a trivial patch to get more info for boards where
the AC97_VENDOR_ID2 register (or others) time out.

Signed-off-by: Jaya Kumar <jayakumar.alsa@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] fix potential NULL pointer deref in snd_sb8dsp_midi_interrupt()
Jesper Juhl [Tue, 13 Jun 2006 09:58:12 +0000 (11:58 +0200)]
[ALSA] fix potential NULL pointer deref in snd_sb8dsp_midi_interrupt()

First testing if a pointer is NULL and if it is (or might be), proceeding
with code that dereferences that same pointer is clearly a mistake.
This happens in sound/isa/sb/sb8_midi.c::snd_sb8dsp_midi_interrupt()
The patch below reworks the code so this unfortunate case doesn't happen.
Also remove some blank comments.
Found by the Coverity checker as bug #367
Patch is compile testted only due to lack of hardware.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - Add SPDIF support to Thinkpad T/X/Z60
Takashi Iwai [Tue, 13 Jun 2006 09:57:22 +0000 (11:57 +0200)]
[ALSA] hda-codec - Add SPDIF support to Thinkpad T/X/Z60

Added IEC958 (SPDIF) output support to Thinkpad T/X/Z60 with
AD1981HD codec.  The spdif jack is on docking station.
Also, renamed 'IEC958 Playback Route' to 'IEC958 Playback Source'
to avoid the mixer name confliction with IEC958 switch.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] ac97_codec - fix duplicate control creation in AC97
Jaya Kumar [Mon, 12 Jun 2006 08:08:02 +0000 (10:08 +0200)]
[ALSA] ac97_codec - fix duplicate control creation in AC97

This patch conditions AC97 control creation by whether or not the
codec is an AD18xx codec. This fixes the case where the default control
would get created and then snd_ac97_mixer_build fails out when creation
of ad18xx specific control would get attempted. This problem was found
and debuged by Marcelo Tosatti.

Signed-off-by: Jaya Kumar <jayakumar.alsa@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
18 years ago[ALSA] RME HDSP - fixed proc interface (missing {})
Remy Bruno [Mon, 12 Jun 2006 07:25:22 +0000 (09:25 +0200)]
[ALSA] RME HDSP - fixed proc interface (missing {})

From: Remy Bruno <remy.bruno@trinnov.com>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
18 years ago[ALSA] snd-ca0106: Update playback to 24bit. Fix typo is comment.
James Courtier-Dutton [Sat, 10 Jun 2006 08:16:49 +0000 (09:16 +0100)]
[ALSA] snd-ca0106: Update playback to 24bit. Fix typo is comment.

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
18 years ago[ALSA] Fix invalid __init in ALSA ISA drivers
Takashi Iwai [Fri, 9 Jun 2006 13:28:07 +0000 (15:28 +0200)]
[ALSA] Fix invalid __init in ALSA ISA drivers

Replaced invalid __init with __devinit in snd-sbawe and snd-opl3sa2
drivers.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] sound/vxpocket: fix printk warning
Randy Dunlap [Thu, 8 Jun 2006 10:01:44 +0000 (12:01 +0200)]
[ALSA] sound/vxpocket: fix printk warning

Fix printk format warning:
sound/pcmcia/vx/vxp_ops.c:205: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'size_t'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove bogus check of mmap_count in snd_pcm_release()
Takashi Iwai [Wed, 7 Jun 2006 16:12:31 +0000 (18:12 +0200)]
[ALSA] Remove bogus check of mmap_count in snd_pcm_release()

Removed a bogus check of mmap_count in snd_pcm_release().
This is no longer true for the shared streams.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Fix races in irq handler and ioremap
Takashi Iwai [Tue, 6 Jun 2006 13:44:34 +0000 (15:44 +0200)]
[ALSA] Fix races in irq handler and ioremap

Call ioremap before request_irq for avoiding possible races
in the irq handler.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] virmidi: revert erroneous removal of zero initialization
Clemens Ladisch [Fri, 2 Jun 2006 07:15:44 +0000 (09:15 +0200)]
[ALSA] virmidi: revert erroneous removal of zero initialization

The last patch that tried to remove zero initializations of static
variables accidentally removed a not-quite-zero initialization too.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] hda-codec - Add model entry for HP nx6320
Takashi Iwai [Thu, 1 Jun 2006 19:08:53 +0000 (21:08 +0200)]
[ALSA] hda-codec - Add model entry for HP nx6320

Added a model entry for HP nx6320 with AD1981HD codec.
It wasn't covered by the generic HP entry because of a hardware
bug (the SSID is reversed).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] ac97 - Add Thinkpad T41p to AD1981 jack-sense blacklist
Takashi Iwai [Thu, 1 Jun 2006 15:16:41 +0000 (17:16 +0200)]
[ALSA] ac97 - Add Thinkpad T41p to AD1981 jack-sense blacklist

Added Thinkpad T41p to the blacklist to disable HP/line jack-sensing
with AD1981B.  The jack-sensing is just harmful on this laptop.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Fix possible races in PCI driver removal
Takashi Iwai [Thu, 1 Jun 2006 12:47:29 +0000 (14:47 +0200)]
[ALSA] Fix possible races in PCI driver removal

Call free_irq() before releasing others to avoid races when
shared irq is issued.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-intel - Fix race in remove
Takashi Iwai [Thu, 1 Jun 2006 09:42:14 +0000 (11:42 +0200)]
[ALSA] hda-intel - Fix race in remove

Call iounmap after free_irq to avoid invalid accesses in the
shared irq.  The patch is taken from
https://bugzilla.novell.com/show_bug.cgi?id=167869

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] bt87x: add Voodoo TV 200 whitelist entry
Clemens Ladisch [Thu, 1 Jun 2006 06:33:48 +0000 (08:33 +0200)]
[ALSA] bt87x: add Voodoo TV 200 whitelist entry

This adds a whitelist entry for the digital audio input of the Voodoo TV 200.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] NULL pointer dereference in sound/synth/emux/soundfont.c
Eric Sesterhenn [Wed, 31 May 2006 09:55:17 +0000 (11:55 +0200)]
[ALSA] NULL pointer dereference in sound/synth/emux/soundfont.c

this is about coverity id #100.
It seems the if statement is negated, since the else branch calls
remove_info() with sflist->currsf as a parameter where it gets
dereferenced.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] cmipci - Fix a typo in 'PC Speaker Playback Switch' control
Takashi Iwai [Mon, 29 May 2006 17:05:28 +0000 (19:05 +0200)]
[ALSA] cmipci - Fix a typo in 'PC Speaker Playback Switch' control

Fixed a typo in  'PC Speaker Playback Switch' control name.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] ice1712 - Set mpu401 info flags from _card_info
Alan Horstmann [Fri, 26 May 2006 15:19:34 +0000 (17:19 +0200)]
[ALSA] ice1712 - Set mpu401 info flags from _card_info

To permit use, in ice1712, of the mpu401 info flags recently added to
mpu401_uart, adds info_flags in snd_ice1712_card_info so that additional
flags can be set, if desired.  'MPU401_INFO_INTEGRATED' is always set with
the ice1712.  The flags are passed on to snd_mpu401_uart_new().
_INFO_OUTPUT is set for DMX6fire mpu2.

Signed-off-by: Alan Horstmann <gineera@aspect135.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - Fix model for HP dc7600
Takashi Iwai [Fri, 26 May 2006 12:58:29 +0000 (14:58 +0200)]
[ALSA] hda-codec - Fix model for HP dc7600

Changed the assigned model for HP dc7600 with ALC260 codec
to match better with the actual I/O assignment.
Patch taken from ALSA bug#2157.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] ice1724 - Add functionality for Audiotrak Prodigy 7.1 LT
Takashi Iwai [Tue, 23 May 2006 13:46:10 +0000 (15:46 +0200)]
[ALSA] ice1724 - Add functionality for Audiotrak Prodigy 7.1 LT

This patch adds support for useable front audio channels,
user controllable headphone channel and optical output.
From: Anho Ki
Signed-off-by: Matt Taylor <mwtaylor@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] au88x0 - Fix 64bit address of MPU401 MMIO port
Takashi Iwai [Tue, 23 May 2006 11:30:59 +0000 (13:30 +0200)]
[ALSA] au88x0 - Fix 64bit address of MPU401 MMIO port

Fix 64bit address of MPU401 MMIO port on au88x0 chip.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] ice1712 - Disable AC97 for DMX6fire
Alan Horstmann [Tue, 23 May 2006 11:29:51 +0000 (13:29 +0200)]
[ALSA] ice1712 - Disable AC97 for DMX6fire

Consumer AC97 is not used by the Terratec DMX6fire, but eeprom bit indicates
it is; change the stored value to disable failing consumer mode.

Signed-off-by: Alan Horstmann <gineera@aspect135.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Change an arugment of snd_mpu401_uart_new() to bit flags
Takashi Iwai [Tue, 23 May 2006 11:24:30 +0000 (13:24 +0200)]
[ALSA] Change an arugment of snd_mpu401_uart_new() to bit flags

Change the 5th argument of snd_mpu401_uart_new() to bit flags
instead of a boolean.  The argument takes bits that consist of
MPU401_INFO_XXX flags.
The callers that used the value 1 there are replaced with
MPU401_INFO_INTEGRATED.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hdsp - Fix compilation with hdsp driver built in kernel
Takashi Iwai [Mon, 22 May 2006 12:31:57 +0000 (14:31 +0200)]
[ALSA] hdsp - Fix compilation with hdsp driver built in kernel

Fixed the compilation with hdsp driver built in kernel.
The traditional hwdep loader is used in this case.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Fix description of cs5535audio driver in ALSA-Configuration.txt
Takashi Iwai [Fri, 19 May 2006 17:22:34 +0000 (19:22 +0200)]
[ALSA] Fix description of cs5535audio driver in ALSA-Configuration.txt

Fix the description of cs5535audio driver in ALSA-Configuraiton.txt.
Now it supports only single device.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Single variables for cs5535audio
Jaya Kumar [Fri, 19 May 2006 10:04:22 +0000 (12:04 +0200)]
[ALSA] Single variables for cs5535audio

As per Takashi's feedback, this is a cleanup to make cs5535audio be
single device per system. The diff is against 2.6.17-rc4 with
Takashi's patch adding the module_params for index, id and enable.

Signed-off-by: Jaya Kumar <jayakumar.alsa@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] mpu401_uart - Fix coding style and code clean up
Takashi Iwai [Thu, 18 May 2006 12:48:26 +0000 (14:48 +0200)]
[ALSA] mpu401_uart - Fix coding style and code clean up

- fold lines and fix spaces to follow the standard style
- added some comments
- moved EXPORT_SYMBOL() near the definition
- some code clean up

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] usbaudio - Fix a typo
Takashi Iwai [Thu, 18 May 2006 12:47:03 +0000 (14:47 +0200)]
[ALSA] usbaudio - Fix a typo

Fix a typo introduced by the last fix.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove ENTER_UART from au88x0 init
Alan Horstmann [Thu, 18 May 2006 12:24:30 +0000 (14:24 +0200)]
[ALSA] Remove ENTER_UART from au88x0 init

Remove an unnecessary ENTER_UART instruction during au88x0 init as it makes
the first/subsequent midi open to fail.

Signed-off-by: Alan Horstmann <gineera@aspect135.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] usb-audio: add workaround for CSR Bluetooth Headphones (Saitek A-250)
Clemens Ladisch [Thu, 18 May 2006 07:35:15 +0000 (09:35 +0200)]
[ALSA] usb-audio: add workaround for CSR Bluetooth Headphones (Saitek A-250)

Some devices don't have the required class-specific endpoint descriptors.
Instead of making this case an error, this patch makes the driver guess the
endpoint attributes.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] hda-codec - Fix init verbs for ALC260 hp model
Takashi Iwai [Wed, 17 May 2006 15:17:43 +0000 (17:17 +0200)]
[ALSA] hda-codec - Fix init verbs for ALC260 hp model

Use the basic init verbs for ALC260 instead of hp init verbs
since hp init verbs seem incomplete and not working on some machines.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove zero-initialization of static variables
Takashi Iwai [Wed, 17 May 2006 15:14:51 +0000 (17:14 +0200)]
[ALSA] Remove zero-initialization of static variables

Removed zero-initializations of static variables.
A tiny optimization.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Fix pcm-draining of capture stream in PCM middle layer
Takashi Iwai [Wed, 17 May 2006 15:10:35 +0000 (17:10 +0200)]
[ALSA] Fix pcm-draining of capture stream in PCM middle layer

Fix the draining of PCM capture stream in the PCM middle layer.
snd_pcm_drain() ignored capture streams, but it should change
the state to SNDRV_PCM_DRAINING.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Fix description of snd-hda-intel driver in document
Takashi Iwai [Wed, 17 May 2006 09:26:39 +0000 (11:26 +0200)]
[ALSA] Fix description of snd-hda-intel driver in document

Fixed the description of snd-hda-intel driver in ALSA-Configuration.txt
document.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda - Add support for the ATI RS600 HDMI audio device
Felix Kuehling [Wed, 17 May 2006 09:22:21 +0000 (11:22 +0200)]
[ALSA] hda - Add support for the ATI RS600 HDMI audio device

Add support for the ATI RS600 HDMI audio device. It has a one-stream
pure digital stereo codec that isn't handled by the generic codec
support.

Signed-off-by: Felix Kuehling <fkuehlin@ati.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] azt3328.c: use kernel coding style
Andreas Mohr [Wed, 17 May 2006 09:04:19 +0000 (11:04 +0200)]
[ALSA] azt3328.c: use kernel coding style

Scope braces were not done the One True Kernel Way.

Signed-off-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] azt3328.c: add 3D sound mixer switch/rename controls
Andreas Mohr [Wed, 17 May 2006 09:03:16 +0000 (11:03 +0200)]
[ALSA] azt3328.c: add 3D sound mixer switch/rename controls

- add 3D sound pre-3D/post-3D switch, as seen in standard AC-97
- rename controls to shorter and more accurate strings

Signed-off-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] azt3328.c: add suspend/resume support
Andreas Mohr [Wed, 17 May 2006 09:02:24 +0000 (11:02 +0200)]
[ALSA] azt3328.c: add suspend/resume support

- add suspend/resume handlers
- fix problem (private_data members not set)
Playing a file while suspending will resume correctly with this patch,
so I assume the hardware to get fully correctly reinitialized with
this patch.

Signed-off-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Fix rwlock around snd_iprintf() in sound core
Takashi Iwai [Mon, 15 May 2006 17:49:05 +0000 (19:49 +0200)]
[ALSA] Fix rwlock around snd_iprintf() in sound core

Fixed rwlock around snd_iprintf() in sound core part.
Replaced with mutex.
Also, make mutex and flags static variables with addition of
snd_card_locked() function (just for sound.c).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - Fix handling of capture controls on ALC882 3/6-stack models
Takashi Iwai [Thu, 11 May 2006 16:12:23 +0000 (18:12 +0200)]
[ALSA] hda-codec - Fix handling of capture controls on ALC882 3/6-stack models

Fixed the handling of capture controls on ALC882 3/6-stack models.
Now the driver checks the availability of NID 07h.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove obsolete description from ALSA-Configuration.txt
Takashi Iwai [Thu, 11 May 2006 09:30:10 +0000 (11:30 +0200)]
[ALSA] Remove obsolete description from ALSA-Configuration.txt

Remove obsolete descriptions about the dependency on CONFIG_ISA
for vxpocket and pdaudiocf drivers.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - Add support for Sony Vaio VGN-S3HP
Takashi Iwai [Wed, 10 May 2006 14:33:11 +0000 (16:33 +0200)]
[ALSA] hda-codec - Add support for Sony Vaio VGN-S3HP

Added the missing support for Sony Vaio VGN-S3HP with ALC260 codec.
The patch taken from ALSA bug#2101.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] rme96 - Fix OSS full-duplex
Takashi Iwai [Wed, 10 May 2006 14:24:42 +0000 (16:24 +0200)]
[ALSA] rme96 - Fix OSS full-duplex

Fixed a bug in rme96 driver that the full-duplex on OSS emulation
doesn't work due to the invalid period size parameter.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - Add support for Apple Mac Mini (early 2006)
Sam Revitch [Wed, 10 May 2006 13:09:17 +0000 (15:09 +0200)]
[ALSA] hda-codec - Add support for Apple Mac Mini (early 2006)

Add support for some audio quirks of the Apple Mac Mini (early 2006)

Signed-off-by: Sam Revitch <samr7@cs.washington.edu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] add support for SB Live! 24-Bit External remote control
Raimonds Cicans [Fri, 5 May 2006 07:49:53 +0000 (09:49 +0200)]
[ALSA] add support for SB Live! 24-Bit External remote control

This patch rewrites the remote control code to use a table for
the peculiarities of the various SB models, and adds support
for a third model.

Signed-off-by: Raimonds Cicans <ray@vardes.lv>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] cmipci - Disable integrated mpu401 as default
Takashi Iwai [Thu, 4 May 2006 12:36:08 +0000 (14:36 +0200)]
[ALSA] cmipci - Disable integrated mpu401 as default

Enable the support of mpu401 PCI port only when mpu_port=1 module
option is given, i.e. disabled as default.
It turned out that the check of integrated midi port isn't perfect
and caused hang-ups on some boards.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Fix a typo in writing-an-alsa-driver document
Takashi Iwai [Thu, 4 May 2006 09:58:43 +0000 (11:58 +0200)]
[ALSA] Fix a typo in writing-an-alsa-driver document

Fixed a typo in writing-an-alsa-driver document.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] au88x0 - Init before create components
Alan Horstmann [Wed, 3 May 2006 15:07:29 +0000 (17:07 +0200)]
[ALSA] au88x0 - Init before create components

Change the order in vortex_probe to set the card details before creating the
components, meaning for example that card->shortname is available when
registering the midi port.
I have also added extra to card->shortname, and a line to overwrite the midi
name following snd_mpu401_uart_new.

Signed-off-by: Alan Horstmann <gineera@aspect135.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda: add sigmatel 9227/9228/9229 ids
Matt Porter [Wed, 3 May 2006 12:08:33 +0000 (14:08 +0200)]
[ALSA] hda: add sigmatel 9227/9228/9229 ids

Adds support for the 9227/9228/9229 sigmatel hda codecs.

Signed-off-by: Matt Porter <mporter@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - Fix mute switch on VAIO laptops with STAC7661
Takashi Iwai [Wed, 3 May 2006 09:59:03 +0000 (11:59 +0200)]
[ALSA] hda-codec - Fix mute switch on VAIO laptops with STAC7661

Fixed the master mute switch on VAIO laptops with STAC7661
codec chip.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] cs5535audio - Add missing module_param*() and MODULE_PARM_DESC()
Takashi Iwai [Tue, 2 May 2006 16:31:31 +0000 (18:31 +0200)]
[ALSA] cs5535audio - Add missing module_param*() and MODULE_PARM_DESC()

Added missing module_param*() and MODULE_PARM_DESC() for
cs5535audio driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Add a workaround for ASUS A6KM
Takashi Iwai [Tue, 2 May 2006 16:22:06 +0000 (18:22 +0200)]
[ALSA] Add a workaround for ASUS A6KM

Added a workaround for ASUS A6KM board that requires EAPD
rather than SPDIF-in.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - Add support for LG S1 laptop
Takashi Iwai [Tue, 2 May 2006 16:17:57 +0000 (18:17 +0200)]
[ALSA] hda-codec - Add support for LG S1 laptop

Added the model entry for LG S1 laptop.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] rawmidi: add get_port_info callback for sequencer information flags
Clemens Ladisch [Tue, 2 May 2006 14:22:12 +0000 (16:22 +0200)]
[ALSA] rawmidi: add get_port_info callback for sequencer information flags

Add a get_port_info callback to the snd_rawmidi_global_ops structure to
allow the USB MIDI driver to supply information flags for the sequencer
ports created by seq_midi.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] add more sequencer port type information bits
Clemens Ladisch [Tue, 2 May 2006 14:08:41 +0000 (16:08 +0200)]
[ALSA] add more sequencer port type information bits

Add four new information flags SNDRV_SEQ_PORT_TYPE_HARDWARE, _SOFTWARE,
_SYNTHESIZER, _PORT for sequencer ports.  This makes it easier for apps
like Rosegarden to make policy decisions based on the port type.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] fix port type bits
Clemens Ladisch [Tue, 2 May 2006 13:50:05 +0000 (15:50 +0200)]
[ALSA] fix port type bits

Fix the port information about non-MIDI messages that had wrong values
for some OPL3 and EmuX ports.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] fix a wrong lock
Clemens Ladisch [Tue, 2 May 2006 13:33:25 +0000 (15:33 +0200)]
[ALSA] fix a wrong lock

fix a typo in the info locking code

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] Fix compile warning in timer.c
Takashi Iwai [Fri, 28 Apr 2006 13:29:15 +0000 (15:29 +0200)]
[ALSA] Fix compile warning in timer.c

Fix a compile warning in timer.c due to unused variables.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Fix mmap_count with O_APPEND opened streams
Takashi Iwai [Fri, 28 Apr 2006 13:13:41 +0000 (15:13 +0200)]
[ALSA] Fix mmap_count with O_APPEND opened streams

Move mmap_count to snd_pcm_substream instead of runtime struct
so that multiplly opened substreams via O_APPEND can be handled
correctly.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Add O_APPEND flag support to PCM
Takashi Iwai [Fri, 28 Apr 2006 13:13:41 +0000 (15:13 +0200)]
[ALSA] Add O_APPEND flag support to PCM

Added O_APPEND flag support to PCM to enable shared substreams
among multiple processes.  This mechanism is used by dmix and
dsnoop plugins.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Insert might_sleep() in snd_iprintf()
Takashi Iwai [Fri, 28 Apr 2006 13:13:41 +0000 (15:13 +0200)]
[ALSA] Insert might_sleep() in snd_iprintf()

Inserted might_sleep() in snd_iprintf() for sanity check.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove spinlocks around proc prints
Takashi Iwai [Fri, 28 Apr 2006 13:13:41 +0000 (15:13 +0200)]
[ALSA] Remove spinlocks around proc prints

Don't lock during showing proc read.  snd_iprintf() might sleep.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove unneeded read/write_size fields in proc text ops
Takashi Iwai [Fri, 28 Apr 2006 13:13:41 +0000 (15:13 +0200)]
[ALSA] Remove unneeded read/write_size fields in proc text ops

Remove unneeded read/write_size fields in proc text ops.
snd_info_set_text_ops() is fixed, too.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Make buffer size of proc text interface variable
Takashi Iwai [Fri, 28 Apr 2006 13:13:40 +0000 (15:13 +0200)]
[ALSA] Make buffer size of proc text interface variable

Make the read/write buffer size of proc text interface variable.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Clean up ugly hacks in pcm_lib.c
Takashi Iwai [Fri, 28 Apr 2006 13:13:40 +0000 (15:13 +0200)]
[ALSA] Clean up ugly hacks in pcm_lib.c

Clean up ugly hacks for sync with alsa-lib code in pcm_lib.c.
Also, optimize snd_pcm_hw_params_choose() with a loop.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Move OSS-specific hw_params helper to snd-pcm-oss module
Takashi Iwai [Fri, 28 Apr 2006 13:13:40 +0000 (15:13 +0200)]
[ALSA] Move OSS-specific hw_params helper to snd-pcm-oss module

Move EXPORT_SYMBOL()s to places adjacent to functions/variables.
Also move OSS-specific hw_params helper functions to pcm_oss.c.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - Move EXPORT_SYMBOL() to adjacent to each function
Takashi Iwai [Fri, 28 Apr 2006 13:13:40 +0000 (15:13 +0200)]
[ALSA] hda-codec - Move EXPORT_SYMBOL() to adjacent to each function

Move EXPORT_SYMBOL() to adjacent to each exported function/variable.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] i2c - Move EXPORT_SYMBOL() to adjacent to each function
Takashi Iwai [Fri, 28 Apr 2006 13:13:40 +0000 (15:13 +0200)]
[ALSA] i2c - Move EXPORT_SYMBOL() to adjacent to each function

Move EXPORT_SYMBOL() to adjacent to each exported function/variable.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] vx - Move EXPORT_SYMBOL() to adjacent to each function
Takashi Iwai [Fri, 28 Apr 2006 13:13:40 +0000 (15:13 +0200)]
[ALSA] vx - Move EXPORT_SYMBOL() to adjacent to each function

Move EXPORT_SYMBOL() to adjacent to each exported function/variable.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] emux - Move EXPORT_SYMBOL() to adjacent to each function
Takashi Iwai [Fri, 28 Apr 2006 13:13:40 +0000 (15:13 +0200)]
[ALSA] emux - Move EXPORT_SYMBOL() to adjacent to each function

Move EXPORT_SYMBOL() to adjacent to each exported function/variable.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] trident - Move EXPORT_SYMBOL() to adjacent to each function
Takashi Iwai [Fri, 28 Apr 2006 13:13:40 +0000 (15:13 +0200)]
[ALSA] trident - Move EXPORT_SYMBOL() to adjacent to each function

Move EXPORT_SYMBOL() to adjacent to each exported function/variable.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] emu10k1 - Move EXPORT_SYMBOL() to adjacent to each function
Takashi Iwai [Fri, 28 Apr 2006 13:13:39 +0000 (15:13 +0200)]
[ALSA] emu10k1 - Move EXPORT_SYMBOL() to adjacent to each function

Move EXPORT_SYMBOL() to adjacent to each exported function/variable.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] opl4 - Move EXPORT_SYMBOL() to adjacent to each function
Takashi Iwai [Fri, 28 Apr 2006 13:13:39 +0000 (15:13 +0200)]
[ALSA] opl4 - Move EXPORT_SYMBOL() to adjacent to each function

Move EXPORT_SYMBOL() to adjacent to each exported function/variable.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] opl3 - Move EXPORT_SYMBOL() to adjacent to each function
Takashi Iwai [Fri, 28 Apr 2006 13:13:39 +0000 (15:13 +0200)]
[ALSA] opl3 - Move EXPORT_SYMBOL() to adjacent to each function

Move EXPORT_SYMBOL() to adjacent to each exported function/variable.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] ac97 - Move EXPORT_SYMBOL() to adjacent to each function
Takashi Iwai [Fri, 28 Apr 2006 13:13:39 +0000 (15:13 +0200)]
[ALSA] ac97 - Move EXPORT_SYMBOL() to adjacent to each function

Move EXPORT_SYMBOL() to adjacent to each exported function/variable.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Clean up EXPORT_SYMBOL()s in snd-seq module
Takashi Iwai [Fri, 28 Apr 2006 13:13:39 +0000 (15:13 +0200)]
[ALSA] Clean up EXPORT_SYMBOL()s in snd-seq module

Move EXPORT_SYMBOL()s to places adjacent to functions/variables.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Clean up EXPORT_SYMBOL()s in snd module
Takashi Iwai [Fri, 28 Apr 2006 13:13:39 +0000 (15:13 +0200)]
[ALSA] Clean up EXPORT_SYMBOL()s in snd module

Move EXPORT_SYMBOL()s to places adjacent to functions/variables.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Clean up ugly hacks in pcm_params.h
Takashi Iwai [Fri, 28 Apr 2006 13:13:39 +0000 (15:13 +0200)]
[ALSA] Clean up ugly hacks in pcm_params.h

Clean up ugly hacks for sync with alsa-lib in pcm_params.h.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] PM support for cs5535audio
Jaya Kumar [Fri, 28 Apr 2006 12:34:49 +0000 (14:34 +0200)]
[ALSA] PM support for cs5535audio

Appended is my patch adding PM support to the cs5535audio driver.
I also added the ac97 quirk but it's not yet confirmed which
boards need to be in the quirk list. The patch also includes some
Kconfig and misc cleanup.

Signed-off-by: Jaya Kumar <jayakumar.alsa@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - Add support for Sony Vaio VGN-A790 laptop
Kenneth Crudup [Fri, 28 Apr 2006 11:03:48 +0000 (13:03 +0200)]
[ALSA] hda-codec - Add support for Sony Vaio VGN-A790 laptop

Added the model entry for Sony Vaio VGN-A790 laptop with ALC260 codec.
From: Kenneth Crudup <kenny@panix.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] ice1712 - Provides specified midi port names instead of defaults
Alan Horstmann [Wed, 26 Apr 2006 16:13:59 +0000 (18:13 +0200)]
[ALSA] ice1712 - Provides specified midi port names instead of defaults

Patch provides for the ice1712 card driver to overwrite the midi port name
string given by default in mpu401_uart, with one specified in
snd_ice1712_card_info.

Signed-off-by: Alan Horstmann <gineera@aspect135.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Change seq_midi.c so client name is card, rather than port, specific
Alan Horstmann [Fri, 21 Apr 2006 06:39:20 +0000 (08:39 +0200)]
[ALSA] Change seq_midi.c so client name is card, rather than port, specific

Change snd_seq_midisynth_register_port() in seq_midi.c so that if a new client
is created, the client name string is based on card->shortname not
(port-specific) info->name.

Signed-off-by: Alan Horstmann <gineera@aspect135.co.uk>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] hda-codec - Fix a typo
Takashi Iwai [Tue, 18 Apr 2006 11:27:31 +0000 (13:27 +0200)]
[ALSA] hda-codec - Fix a typo

Fixed a typo of 'pci_subsystem' in the last changeset.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - Add Thinkpad X60/T60/Z60 support
Takashi Iwai [Tue, 18 Apr 2006 10:54:11 +0000 (12:54 +0200)]
[ALSA] hda-codec - Add Thinkpad X60/T60/Z60 support

Added the support for Thinkpad X60/T60/Z60 laptops with AD1981HD codec.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] unregister platform device again if probe was unsuccessful
Rene Herman [Thu, 13 Apr 2006 10:58:06 +0000 (12:58 +0200)]
[ALSA] unregister platform device again if probe was unsuccessful

This second one unregisters the platform device again when the probe is
unsuccesful for sound/drivers, sound/arm/sa11xx-uda1341.c and
sound/ppc/powermac.c. This gets them all.

Signed-off-by: Rene Herman <rene.herman@keyaccess.nl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] vxpocket - Fix a typo
Takashi Iwai [Wed, 12 Apr 2006 10:54:55 +0000 (12:54 +0200)]
[ALSA] vxpocket - Fix a typo

Fix a typo of return value from vxpocket_config().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] AC97: Correct Mic Boost label.
James Courtier-Dutton [Tue, 11 Apr 2006 20:47:27 +0000 (21:47 +0100)]
[ALSA] AC97: Correct Mic Boost label.

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
18 years ago[ALSA] ca0106: Fixes MSI K8N's SB Live 24 bit, no sound from line-in.
James Courtier-Dutton [Sun, 9 Apr 2006 19:48:44 +0000 (20:48 +0100)]
[ALSA] ca0106: Fixes MSI K8N's SB Live 24 bit, no sound from line-in.

Fixed bug#1331

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
18 years ago[ALSA] Add p17v.h file.
James Courtier-Dutton [Sun, 9 Apr 2006 16:44:13 +0000 (17:44 +0100)]
[ALSA] Add p17v.h file.

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
18 years ago[ALSA] emu10k1: Add support for Audigy4 (not Pro)
James Courtier-Dutton [Sun, 9 Apr 2006 16:36:39 +0000 (17:36 +0100)]
[ALSA] emu10k1: Add support for Audigy4 (not Pro)

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
18 years ago[ALSA] ca0106: Add analog capture controls.
James Courtier-Dutton [Sun, 9 Apr 2006 12:01:34 +0000 (13:01 +0100)]
[ALSA] ca0106: Add analog capture controls.

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
18 years agoMerge git://oss.sgi.com:8090/xfs-2.6
Linus Torvalds [Thu, 22 Jun 2006 01:10:19 +0000 (18:10 -0700)]
Merge git://oss.sgi.com:8090/xfs-2.6

* git://oss.sgi.com:8090/xfs-2.6: (43 commits)
  [XFS] Remove files from the build that are now unused.
  [XFS] Fix a Makefile issue related to exports.o handling.
  [XFS] Remove version 1 directory code. Never functioned on Linux, just
  [XFS] Map EFSCORRUPTED to an actual error code, not just a made up one
  [XFS] Kill direct access to ->count in valusema(); all we ever use it for
  [XFS] Remove unneeded conditional code on NFS export interface related
  [XFS] Remove an incorrect use of unlikely() on a relatively likely code
  [XFS] Push some common code out of write path into core XFS code for
  [XFS] Remove unnecessary local from open_exec dmapi path.
  [XFS] Minor XFS documentation updates.
  [XFS] Fix broken const use inside local suffix_strtoul routine.
  [XFS] Fix nused counter.  It's currently getting set to -1 rather than
  [XFS] Fix mismerge of the fs_writable cleanup patch causing a freeze/thaw
  [XFS] Fix up debug code so that bulkstat wont generate thousands of
  [XFS] Remove unused parameter from di2xflags routine.
  [XFS] Cleanup a missed porting conversion, and freezing.
  [XFS] Resolve a namespace collision on remaining vtypes for FreeBSD
  [XFS] Resolve a namespace collision on vnode/vnodeops for FreeBSD porters.
  [XFS] Resolve a namespace collision on vfs/vfsops for FreeBSD porters.
  [XFS] statvfs component of directory/project quota support, code
  ...

18 years ago[PATCH] USB: only make /sys/class/usb show up when there is something in it
Greg Kroah-Hartman [Tue, 20 Jun 2006 22:14:07 +0000 (15:14 -0700)]
[PATCH] USB: only make /sys/class/usb show up when there is something in it

Now /sys/class/usb is dynamically created when we have something to put
in it, and removed when all devices go away.

Just trying to cut down on the clutter in sysfs...

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: convert usb class devices to real devices
Greg Kroah-Hartman [Tue, 20 Jun 2006 20:09:50 +0000 (13:09 -0700)]
[PATCH] USB: convert usb class devices to real devices

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: move usb_device_class class devices to be real devices
Greg Kroah-Hartman [Tue, 20 Jun 2006 06:59:31 +0000 (23:59 -0700)]
[PATCH] USB: move usb_device_class class devices to be real devices

This moves the usb class devices that control the usbfs nodes to show up
in the proper place in the larger device tree.

No userspace changes is needed, this is compatible due to the symlinks
generated by the driver core.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: make endpoints real struct devices
Greg Kroah-Hartman [Wed, 14 Jun 2006 19:14:34 +0000 (12:14 -0700)]
[PATCH] USB: make endpoints real struct devices

This will allow for us to give endpoints a major/minor to create a
"usbfs2-like" way to access endpoints directly from userspace in an
easier manner than the current usbfs provides us.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: make usb_create_ep_files take a struct device
Greg Kroah-Hartman [Wed, 14 Jun 2006 19:14:34 +0000 (12:14 -0700)]
[PATCH] USB: make usb_create_ep_files take a struct device

Instead of a kobject, will make things easier in the future (don't know
what I was thinking when I did this originally...)

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>