]> err.no Git - linux-2.6/log
linux-2.6
18 years ago[ALSA] snd-emu10k1: Enable speakers on Audigy 2 ZS Notebook.
James Courtier-Dutton [Wed, 21 Dec 2005 14:31:02 +0000 (15:31 +0100)]
[ALSA] snd-emu10k1: Enable speakers on Audigy 2 ZS Notebook.

Modules: EMU10K1/EMU10K2 driver

Description:
This enables the 7.1 speaker output of the Audigy 2 ZS Notebook.
Further towards fixing ALSA bug#927
TODO:
SPDIF/IEC958 output. (untested, might already work)
Sound capture. (untested, might already work.)

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
18 years ago[ALSA] snd-emu10k1: Removes some distortion from Audigy 2 ZS Notebook.
James Courtier-Dutton [Wed, 21 Dec 2005 14:06:08 +0000 (15:06 +0100)]
[ALSA] snd-emu10k1: Removes some distortion from Audigy 2 ZS Notebook.

Modules: EMU10K1/EMU10K2 driver

Description:
Part way to fix ALSA bug#927
Add support for the SPI interface on the CA0108 chip.
This is used to control the registers on the DAC.
Headphone output tested.
Other outputs and Capture not tested yet.
Note: The red LED does not come on, but sound is still OK.

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
18 years ago[ALSA] snd-ca0106: Fixes sound output for Creative Audigy SE aka.SB0570.
James Courtier-Dutton [Tue, 20 Dec 2005 21:30:49 +0000 (22:30 +0100)]
[ALSA] snd-ca0106: Fixes sound output for Creative Audigy SE aka.SB0570.

Modules: CA0106 driver

Fixes ALSA bug#1636

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
18 years ago[ALSA] snd-ca0106: update SPDIF to IEC958 in mixer control names.
James Courtier-Dutton [Fri, 16 Dec 2005 20:59:59 +0000 (21:59 +0100)]
[ALSA] snd-ca0106: update SPDIF to IEC958 in mixer control names.

Modules: CA0106 driver

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
18 years ago[ALSA] via82xx - Add a quirk for Targa Traveller 811
Takashi Iwai [Wed, 14 Dec 2005 11:00:46 +0000 (12:00 +0100)]
[ALSA] via82xx - Add a quirk for Targa Traveller 811

Modules: VIA82xx driver

Add an ac97 quirk entry for Targa Traveller 811.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] es1968 - Fix conflict with ISA boards
Rene Herman [Wed, 14 Dec 2005 10:57:27 +0000 (11:57 +0100)]
[ALSA] es1968 - Fix conflict with ISA boards

Modules: ES1968 driver

Fix disablement of TDMA and legacy support to prevent confliction of
resources with ISA boards.  Confirmed with Terratec DMX and CS4236.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] make the pxa2xx-ac97 module more robust against PXA27x bugs
Nicolas Pitre [Mon, 12 Dec 2005 14:41:47 +0000 (15:41 +0100)]
[ALSA] make the pxa2xx-ac97 module more robust against PXA27x bugs

Modules: ARM PXA2XX driver

The SDONE and CDONE interrupt on the PXA27x might become unusable in
some conditions.  Let's use an hybrid approach (interrupt with timeout)
to have the best possible behavior in all conditions.

Also let's not care about CAR_CAIP anymore.  This is useless.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] seq: reorganize sequencer client numbers
Clemens Ladisch [Mon, 12 Dec 2005 08:36:01 +0000 (09:36 +0100)]
[ALSA] seq: reorganize sequencer client numbers

Modules: ALSA sequencer

Reduce the maximum possible number of global clients to 16 to make
more numbers available for card clients, and allow dynamically allocated
card client numbers to share the same range as application client
numbers to make sure that all 32 cards can be used at the same time.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] seq: set client name in snd_seq_create_kernel_client()
Clemens Ladisch [Mon, 12 Dec 2005 08:33:37 +0000 (09:33 +0100)]
[ALSA] seq: set client name in snd_seq_create_kernel_client()

All users of snd_seq_create_kernel_client() have to set the client name
anyway, so we can just pass the name as parameter.  This relieves us
from having to muck around with a struct snd_seq_client_info in these
cases.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] seq: remove struct snd_seq_client_callback
Clemens Ladisch [Mon, 12 Dec 2005 08:30:43 +0000 (09:30 +0100)]
[ALSA] seq: remove struct snd_seq_client_callback

The fields of struct snd_seq_client_callback either aren't used or are
always set to the same value, so we can get rid of it altogether.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] seq: remove superfluous fields
Clemens Ladisch [Mon, 12 Dec 2005 08:28:51 +0000 (09:28 +0100)]
[ALSA] seq: remove superfluous fields

Modules: ALSA sequencer

None of the fields of struct snd_seq_kernel_client was actually used, so
remove them.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] ymfpci: show chip model
Clemens Ladisch [Mon, 12 Dec 2005 08:27:14 +0000 (09:27 +0100)]
[ALSA] ymfpci: show chip model

Modules: YMFPCI driver

Instead of 'DS-XG', show the correct chip model (DS-1/1L/1S/1E) where possible.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] hda-codec - Add the model entry for ASUS P5GD1-HVM
Takashi Iwai [Wed, 7 Dec 2005 17:25:47 +0000 (18:25 +0100)]
[ALSA] hda-codec - Add the model entry for ASUS P5GD1-HVM

Modules: HDA Codec driver

Add the model entry (ALC880 6stack) for ASUS P5GD1-HVM.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] pcm - Fix wrong asserts
Takashi Iwai [Wed, 7 Dec 2005 14:28:07 +0000 (15:28 +0100)]
[ALSA] pcm - Fix wrong asserts

Modules: PCM Midlevel

Fixed wrong or supreflous snd_assert()'s.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - Small clean up and fixes
Takashi Iwai [Wed, 7 Dec 2005 12:56:29 +0000 (13:56 +0100)]
[ALSA] hda-codec - Small clean up and fixes

Modules: HDA Codec driver,HDA generic driver

- Common labels for input pins
- Fix and clean up of Realtek codec parsers

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] unregister platform devices
Clemens Ladisch [Wed, 7 Dec 2005 08:13:42 +0000 (09:13 +0100)]
[ALSA] unregister platform devices

Call platform_device_unregister() for all platform devices that we've
registered.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] Nest sound devices
Clemens Ladisch [Wed, 7 Dec 2005 08:11:05 +0000 (09:11 +0100)]
[ALSA] Nest sound devices

Modules: ALSA Core

Make the control device parent of all other ALSA devices of a card.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] ens1371: fix compilation without SUPPORT_JOYSTICK
Clemens Ladisch [Wed, 7 Dec 2005 08:07:25 +0000 (09:07 +0100)]
[ALSA] ens1371: fix compilation without SUPPORT_JOYSTICK

Modules: ENS1370/1+ driver

Move the spdif and lineio parameters around so that they are compiled
even when SUPPORT_JOYSTICK isn't set.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] hda-codec - Fix Oops with ALC260 auto-probe
Takashi Iwai [Tue, 6 Dec 2005 18:05:29 +0000 (19:05 +0100)]
[ALSA] hda-codec - Fix Oops with ALC260 auto-probe

Modules: HDA Codec driver

- Fix Oops with auto-probing of ALC260 with digital I/O
- Fix a typo

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - Fix ALC codec probing
Takashi Iwai [Tue, 6 Dec 2005 17:54:31 +0000 (18:54 +0100)]
[ALSA] hda-codec - Fix ALC codec probing

Modules: HDA Codec driver

- Fix ALC882 BIOS auto-probe
- Fix ALC262 basic model
- Add assert for debugging Oops

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] emu10k1 - Add entry for SB Live 5.1 Digital OEM [SB0220]
Gergely Tamas [Tue, 6 Dec 2005 13:10:57 +0000 (14:10 +0100)]
[ALSA] emu10k1 - Add entry for SB Live 5.1 Digital OEM [SB0220]

Modules: EMU10K1/EMU10K2 driver

Added the chip-detail entry for SB Live 5.1 Digital OEM [SB0220, (c) 2003].

Signed-off-by: Gergely Tamas <dice@mfa.kfki.hu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Add a new quirk for mute-LED and HP-only.
Matthew Garrett [Tue, 6 Dec 2005 12:59:12 +0000 (13:59 +0100)]
[ALSA] Add a new quirk for mute-LED and HP-only.

Modules: AC97 Codec,ATIIXP driver,Intel8x0 driver

This patch adds a new quirk for ac97 hardware that combines the existing
AC97_TUNE_MUTE_LED and AC97_TUNE_HP_ONLY quirks.  This is needed for several
current HP laptops.  Additionally, it adds the HP nx6125 to the
AC97_TUNE_MUTE_LED list.

Fixed for the latest version of ALSA by Takashi Iwai <tiwai@suse.de>.

Signed-off-by: Matthew Garrett <mjg59@srcf.ucam.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Add PCXHR driver
Markus Bollinger [Tue, 6 Dec 2005 12:55:26 +0000 (13:55 +0100)]
[ALSA] Add PCXHR driver

Modules: Documentation,PCI drivers,Digigram PCXHR driver

Add Digigram PCXHR driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] via82xx - Add dxs entry for ASRock mobo
Takashi Iwai [Mon, 5 Dec 2005 20:16:37 +0000 (21:16 +0100)]
[ALSA] via82xx - Add dxs entry for ASRock mobo

Modules: VIA82xx driver

Added dxs_support entry for ASRock mobo.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] ac97 - Small fix for ALC65x codec
Takashi Iwai [Mon, 5 Dec 2005 19:51:43 +0000 (20:51 +0100)]
[ALSA] ac97 - Small fix for ALC65x codec

Modules: AC97 Codec

Small fix for ALC65x codec, sync with Realtek's driver codes:
- Rename 'IEC958 Playback Route' to 'IEC958 Playback Source' so that
  mixer can handle it properly

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - Add the support of ALC262,ALC883,ALC885,ALC861
Kailang Yang [Mon, 5 Dec 2005 18:42:22 +0000 (19:42 +0100)]
[ALSA] hda-codec - Add the support of ALC262,ALC883,ALC885,ALC861

Modules: HDA Codec driver,HDA generic driver

This patch adds the support of ALC262,ALC883,ALC885,ALC861 to driver
More models and improvements for ALC880, ALC260 and ALC882 codecs, too.

Signed-off-by: Kailang Yang <kailang@realtek.com.tw>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] ice1724 - Add support of M-Audio Revolution 5.1
Takashi Iwai [Mon, 5 Dec 2005 18:22:34 +0000 (19:22 +0100)]
[ALSA] ice1724 - Add support of M-Audio Revolution 5.1

Modules: ICE1724 driver

Added the basic support of M-Audio Revolution 5.1.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] emu10k1 - Fix missing declarations
Andreas Schwab [Mon, 5 Dec 2005 14:12:20 +0000 (15:12 +0100)]
[ALSA] emu10k1 - Fix missing declarations

Modules: EMU10K1/EMU10K2 driver

sound/pci/emu10k1/emufx.c: In function 'snd_emu10k1_efx_alloc_pm_buffer':
sound/pci/emu10k1/emufx.c:2402: error: implicit declaration of function 'vmalloc'
sound/pci/emu10k1/emufx.c:2402: warning: assignment makes pointer from integer without a cast
sound/pci/emu10k1/emufx.c: In function 'snd_emu10k1_efx_free_pm_buffer':
sound/pci/emu10k1/emufx.c:2413: error: implicit declaration of function 'vfree'

Signed-off-by: Andreas Schwab <schwab@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] emu10k1: Partial support for Creative emu1212m
James Courtier-Dutton [Sun, 4 Dec 2005 17:03:03 +0000 (18:03 +0100)]
[ALSA] emu10k1: Partial support for Creative emu1212m

Modules: EMU10K1/EMU10K2 driver

Distorted sound now comes from the Audio Out socket. Still more work to do.

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
18 years ago[ALSA] powermac - Revert the last addition for 17' powerbook
Takashi Iwai [Thu, 1 Dec 2005 10:19:41 +0000 (11:19 +0100)]
[ALSA] powermac - Revert the last addition for 17' powerbook

Modules: PPC PMAC driver

The last addition of 17' powerbook support seems buggy
(it's not Toonie indeed).  Removed again.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] au88x0: Remove unneeded call to pci_dma_supported()
Tobias Klauser [Thu, 1 Dec 2005 10:14:00 +0000 (11:14 +0100)]
[ALSA] au88x0: Remove unneeded call to pci_dma_supported()

Modules: au88x0 driver

pci_dma_supported() is called right before pci_set_dma_mask() which already
calls pci_dma_supported().  The attached patch removes the unneeded call to
pci_dma_supported()

Additionally the custom VORTEX_DMA_MASK macro is replaced by DMA_32BIT_MASK
from linux/dma-mapping.h

Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] pcm - Make the support of old API selectable
Takashi Iwai [Thu, 1 Dec 2005 09:51:58 +0000 (10:51 +0100)]
[ALSA] pcm - Make the support of old API selectable

Modules: ALSA Core,PCM Midlevel

Make the support of old API selectable via config option.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Optimize for config without PROC_FS (pci drivers)
Takashi Iwai [Thu, 1 Dec 2005 09:49:58 +0000 (10:49 +0100)]
[ALSA] Optimize for config without PROC_FS (pci drivers)

Optimize the code when compiled without CONFIG_PROC_FS for some pci drivers.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] dbri - Don't return errors without CONFIG_PROC_FS
Takashi Iwai [Thu, 1 Dec 2005 09:48:37 +0000 (10:48 +0100)]
[ALSA] dbri - Don't return errors without CONFIG_PROC_FS

Modules: SPARC DBRI driver

Don't return errors if the proc file can't be created (for the case
without CONFIG_PROC_FS).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Optimize for config without PROC_FS (seq and oss parts)
Takashi Iwai [Thu, 1 Dec 2005 09:43:51 +0000 (10:43 +0100)]
[ALSA] Optimize for config without PROC_FS (seq and oss parts)

Modules: ALSA<-OSS emulation,ALSA sequencer,ALSA<-OSS sequencer

Optimize the code when compiled without CONFIG_PROC_FS (in seq and oss
emulation parts).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Optimize for config without PROC_FS
Takashi Iwai [Thu, 1 Dec 2005 09:42:42 +0000 (10:42 +0100)]
[ALSA] Optimize for config without PROC_FS

Modules: HWDEP Midlevel,ALSA Core,PCM Midlevel,Timer Midlevel

Optimize the code when compiled without CONFIG_PROC_FS.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] snd_powermac: Add ID for Spring 2005 17' Powerbook
Kyle Moffett [Wed, 30 Nov 2005 09:54:28 +0000 (10:54 +0100)]
[ALSA] snd_powermac: Add ID for Spring 2005 17' Powerbook

Modules: PPC PMAC driver

The audio chip in my Spring 2005 17' PowerBook was incorrectly
recognized as an AWACS chip.  This adds the chip ID to the
snd_powermac driver such that it is recognized as a Toonie (I don't
know if that's correct, but it's the only one that makes it work at
all). and sorts the ID lists numerically.  NOTE:  This chip is only
minimally supported at this point; it has system beep support and
very low volume speaker output, and that's about it.

Signed-off-by: Kyle Moffett <mrmacman_g4@mac.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] ad1848 - Fix compilation without CONFIG_PM
Takashi Iwai [Wed, 30 Nov 2005 09:12:26 +0000 (10:12 +0100)]
[ALSA] ad1848 - Fix compilation without CONFIG_PM

Modules: AD1848 driver

Fix compilation without CONFIG_PM.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - update sigmatel support and bug fixes
Matt Porter [Tue, 29 Nov 2005 14:00:51 +0000 (15:00 +0100)]
[ALSA] hda-codec - update sigmatel support and bug fixes

Modules: HDA Codec driver

- Explictly set pin control as input for all input pins
- Fix bug in 922x mixer (no mute on adc0vol)
- Remove broken ch_mode control
- Add support for jack retasking mixer controls to use rear line and
  mic as surround outputs
- Add board tables to support autodetect and pin config defaults for
  systems with broken bioses
- Add support for several Intel mobos
- Add support for DFI mobo with reference boards attached
  (gets rid of compile time switch to use reference boards)

Signed-off-by: Matt Porter <mporter@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] sound: align device drivers menus
Randy Dunlap [Tue, 29 Nov 2005 13:48:41 +0000 (14:48 +0100)]
[ALSA] sound: align device drivers menus

Modules: Sound Core,Generic drivers

AC97 Kconfig entries broke the ALSA device drivers menu, so move them to a
location where that won't happen, enabling all device sub-menus to be
presented together.

Fixed for the latest ALSA tree by Takashi Iwai <tiwai@suse.de>.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-intel - Fix HDA probe_mask default
Matt Porter [Tue, 29 Nov 2005 13:46:01 +0000 (14:46 +0100)]
[ALSA] hda-intel - Fix HDA probe_mask default

Modules: HDA Intel driver

The probe_mask module parameter comment notes that the intended
default is -1. Fix it to be so, otherwise all codecs are skipped
and init fails.

Signed-off-by: Matt Porter <mporter@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] ens1371: added spdif and lineio module options
Jaroslav Kysela [Mon, 28 Nov 2005 09:50:59 +0000 (10:50 +0100)]
[ALSA] ens1371: added spdif and lineio module options

Modules: ENS1370/1+ driver

- spdif module option: some hardware revisions are without spdif output
- lineio module option: force shared line in / rear out jack settings

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
18 years ago[ALSA] ac97 - Add extra IDs for headphone autosense
Matthew Garrett [Fri, 25 Nov 2005 11:03:20 +0000 (12:03 +0100)]
[ALSA] ac97 - Add extra IDs for headphone autosense

Modules: AC97 Codec

The following patch adds some extra IDs for the list of hardware which
should have headphone line sense enabled by default.

Signed-off-by: Matthew Garrett <mjg59@srcf.ucam.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - Fix surrounds on 3stack mode of AD1988
Takashi Iwai [Thu, 24 Nov 2005 15:17:20 +0000 (16:17 +0100)]
[ALSA] hda-codec - Fix surrounds on 3stack mode of AD1988

Modules: HDA Codec driver

Fixed the swapped surround/CLFE on 3stack mode of AD1988.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - Fix/enhance AD1988 support
Takashi Iwai [Thu, 24 Nov 2005 15:06:23 +0000 (16:06 +0100)]
[ALSA] hda-codec - Fix/enhance AD1988 support

Modules: HDA Codec driver

Fix/enhance AD1988 support code.

- Fix for h/w bug of AD1988A rev 2
- The BIOS auto-configuration is added and used as fallback

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - Fix channel mode helper
Takashi Iwai [Thu, 24 Nov 2005 15:05:04 +0000 (16:05 +0100)]
[ALSA] hda-codec - Fix channel mode helper

Modules: HDA Codec driver

Fix the channel mode helper (for put callback).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-intel - Use position buffer as default
Takashi Iwai [Thu, 24 Nov 2005 15:03:40 +0000 (16:03 +0100)]
[ALSA] hda-intel - Use position buffer as default

Modules: HDA Intel driver

- Use the position buffer for obtaining the current DMA position
  as default.  This seems more stable than others.
- Add probe_mask module option (mainly for test boards with multiple
  codecs).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - Fix auto-probe of ALC880
Libin Yang [Wed, 23 Nov 2005 14:48:36 +0000 (15:48 +0100)]
[ALSA] hda-codec - Fix auto-probe of ALC880

Modules: HDA Codec driver

This patch is to fix the problem of calculating the nid incorrectly
when auto-probe for ALC880. The problem to be fixed often behaves
with such words when using dmesg, 'num_steps = 0 for NID=0x8' when
auto-probe for ALC880.

The patch contains:
- alsa-kernel/pci/hda/patch_realtek.c: replace 'alc880_dac_to_idx'
  with 'alc880_idx_to_dac' in function 'alc880_auto_fill_dac_nids()'

Signed-off-by: Libin Yang <libin.yang@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] sound/: possible cleanups
Adrian Bunk [Wed, 23 Nov 2005 12:14:50 +0000 (13:14 +0100)]
[ALSA] sound/: possible cleanups

Modules: RawMidi Midlevel,HDA generic driver

This patch contains the following possible cleanups:
- pci/hda/hda_proc.c should #include 'hda_local.h' for including the
  prototype of it's global function snd_hda_codec_proc_new()
- core/rawmidi.c: make the needlessly global and EXPORT_SYMBOL'ed
  function snd_rawmidi_info() static

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Fix a missing include
Takashi Iwai [Tue, 22 Nov 2005 14:46:41 +0000 (15:46 +0100)]
[ALSA] Fix a missing include

Modules: ALSA Core

Fix missing include <linux/device.h>

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] ice1712 - Fix Front Digital Input of Terratec DMX 6Fire
Takashi Iwai [Tue, 22 Nov 2005 13:33:27 +0000 (14:33 +0100)]
[ALSA] ice1712 - Fix Front Digital Input of Terratec DMX 6Fire

Modules: ICE1712 driver

Fix the inverted switch of 'Front Digital Input' of Terratec DMX 6Fire.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] usb-audio: fix Edirol UA-20 support
Clemens Ladisch [Mon, 21 Nov 2005 15:40:00 +0000 (16:40 +0100)]
[ALSA] usb-audio: fix Edirol UA-20 support

Modules: USB generic driver

Somebody at Edirol fucked up and released a new revision of the UA-20
without class-specific descriptors, so now we have to hard-code the
sample format.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] hda-codec - Fix AD1988 support
Takashi Iwai [Mon, 21 Nov 2005 15:36:15 +0000 (16:36 +0100)]
[ALSA] hda-codec - Fix AD1988 support

Modules: HDA Codec driver

Fix AD1988 support.  As default, 6stack model is used.
Still no auto-BIOS setup is implemented.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - Allocate connection lists dynamically in generic parser
Takashi Iwai [Mon, 21 Nov 2005 15:33:51 +0000 (16:33 +0100)]
[ALSA] hda-codec - Allocate connection lists dynamically in generic parser

Modules: HDA generic driver

Allocate connection lists dynamically in generic parser.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] hda-codec - Fix connection list parsing
Takashi Iwai [Mon, 21 Nov 2005 15:33:22 +0000 (16:33 +0100)]
[ALSA] hda-codec - Fix connection list parsing

Modules: HDA Codec driver,HDA generic driver

- Fix connection list parsing (with ranged flag).
- Increase the max number of connections
- Introduce widget capabilities cache
- Power up/down widgets at init, suspend and resume

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] rawmidi: adjust runtime->avail when changing output buffer size
Clemens Ladisch [Mon, 21 Nov 2005 06:31:31 +0000 (07:31 +0100)]
[ALSA] rawmidi: adjust runtime->avail when changing output buffer size

Modules: RawMidi Midlevel

When the output buffer size is changed, runtime->avail must be
adjusted to the new size; otherwise, draining of a bigger buffer would
appear to fail because avail does not reach buffer_size.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] adjust documentation for higher card limit
Clemens Ladisch [Mon, 21 Nov 2005 06:30:20 +0000 (07:30 +0100)]
[ALSA] adjust documentation for higher card limit

Modules: Documentation

Fix all places in the docs where the card number limit is mentioned.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] dynamic minors (6/6): increase maximum number of sound cards
Clemens Ladisch [Sun, 20 Nov 2005 13:09:05 +0000 (14:09 +0100)]
[ALSA] dynamic minors (6/6): increase maximum number of sound cards

Modules: ALSA Core,Memalloc module,ALSA sequencer

With dynamic minor numbers, we can increase the number of sound cards.

This requires that the sequencer client numbers of some kernel drivers
are allocated dynamically, too.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] dynamic minors (5/6): reduce maximum number of MIDI devices per card
Clemens Ladisch [Sun, 20 Nov 2005 13:08:28 +0000 (14:08 +0100)]
[ALSA] dynamic minors (5/6): reduce maximum number of MIDI devices per card

Modules: ALSA sequencer,Generic drivers

To allow increasing the maximum number of sound cards, we have to limit
the number of sequencer clients per card because client numbers are
still allocated statically.

Reducing the number of clients to four limits the number of sequencer
MIDI ports to 1024 per card.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] dynamic minors (4/6): dynamic minor number allocation
Clemens Ladisch [Sun, 20 Nov 2005 13:07:47 +0000 (14:07 +0100)]
[ALSA] dynamic minors (4/6): dynamic minor number allocation

Modules: ALSA Core,ALSA Minor Numbers

Add an option to allocate device file minor numbers dynamically.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] dynamic minors (3/6): store device-specific object pointers dynamically
Clemens Ladisch [Sun, 20 Nov 2005 13:06:59 +0000 (14:06 +0100)]
[ALSA] dynamic minors (3/6): store device-specific object pointers dynamically

Instead of storing the pointers to the device-specific structures in an
array, put them into the struct snd_minor, and look them up dynamically.

This makes the device type modules independent of the minor number
encoding.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] dynamic minors (2/6): simplify storage of snd_minor structures
Clemens Ladisch [Sun, 20 Nov 2005 13:05:49 +0000 (14:05 +0100)]
[ALSA] dynamic minors (2/6): simplify storage of snd_minor structures

Modules: ALSA Core

Store the snd_minor structure pointers in one array instead of using a
separate list for each card.  This simplifies the mapping from device
files to minor struct by removing the need to know about the encoding
of the card number in the minor number.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] dynamic minors (1/6): store device type in struct snd_minor
Clemens Ladisch [Sun, 20 Nov 2005 13:03:48 +0000 (14:03 +0100)]
[ALSA] dynamic minors (1/6): store device type in struct snd_minor

Instead of a comment string, store the device type in the snd_minor
structure.  This makes snd_minor more flexible, and has the nice side
effect that we don't need anymore to create a separate snd_minor
template for registering a device but can pass the file_operations
directly to snd_register_device().

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] rawmidi: protect against invalid device number in snd_rawmidi_info_select()
Clemens Ladisch [Sun, 20 Nov 2005 12:59:56 +0000 (13:59 +0100)]
[ALSA] rawmidi: protect against invalid device number in snd_rawmidi_info_select()

Modules: RawMidi Midlevel

In snd_rawmidi_info_select(), check that the device identified by the
passed device number actually exists.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] cs5535audio: move sound/driver.h to the top
Clemens Ladisch [Sun, 20 Nov 2005 12:58:28 +0000 (13:58 +0100)]
[ALSA] cs5535audio: move sound/driver.h to the top

Modules: CS5535 driver

Move the #include of <sound/driver.h> to the top which is
required for compilation on earlier kernels.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
18 years ago[ALSA] Fix a compile warning
Takashi Iwai [Fri, 18 Nov 2005 17:52:39 +0000 (18:52 +0100)]
[ALSA] Fix a compile warning

Modules: CS4231 driver

Fix a compile warning (unused variable).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Fix possible races in timer callbacks
Takashi Iwai [Fri, 18 Nov 2005 17:52:14 +0000 (18:52 +0100)]
[ALSA] Fix possible races in timer callbacks

Fix possible races in timer callbacks.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] intel8x0 - Added swap_hp quirk for Fujitsu-Siemens Celsius H320 [0x10cf:0x12f2]
Jaroslav Kysela [Fri, 18 Nov 2005 06:44:13 +0000 (07:44 +0100)]
[ALSA] intel8x0 - Added swap_hp quirk for Fujitsu-Siemens Celsius H320 [0x10cf:0x12f2]

Modules: Intel8x0 driver

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
18 years ago[ALSA] Add CS4232 PnP BIOS support
Takashi Iwai [Thu, 17 Nov 2005 16:51:00 +0000 (17:51 +0100)]
[ALSA] Add CS4232 PnP BIOS support

Modules: CS4231 driver,CS4236+ driver

Add CS4232 PnP BIOS support.  Still experimental.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Fix resume of cs4231
Takashi Iwai [Thu, 17 Nov 2005 16:48:30 +0000 (17:48 +0100)]
[ALSA] Fix resume of cs4231

Modules: CS4231 driver

Use mce_down() again in the resume callback.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Add error messages
Takashi Iwai [Thu, 17 Nov 2005 16:44:01 +0000 (17:44 +0100)]
[ALSA] Add error messages

Add error messages in the critial error path to be more verbose.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Merge ad1816a-lib module to ad1816a
Takashi Iwai [Thu, 17 Nov 2005 16:41:08 +0000 (17:41 +0100)]
[ALSA] Merge ad1816a-lib module to ad1816a

Modules: AD1816A driver

Merge ad1816a-lib module to ad1816.
There is no more reason to split.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] document - Update PM support
Takashi Iwai [Thu, 17 Nov 2005 16:26:09 +0000 (17:26 +0100)]
[ALSA] document - Update PM support

Modules: Documentation

Update the description about the PCI PM support.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] document - Add PM support
Takashi Iwai [Thu, 17 Nov 2005 16:24:26 +0000 (17:24 +0100)]
[ALSA] document - Add PM support

Modules: Documentation

Mark the drivers newly supporting PM in the documentation.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove snd_legacy_auto_probe()
Takashi Iwai [Thu, 17 Nov 2005 16:22:43 +0000 (17:22 +0100)]
[ALSA] Remove snd_legacy_auto_probe()

Modules: ALSA Core

Remove unsed snd_legacy_auto_probe() function.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove snd_card_generic_dev()
Takashi Iwai [Thu, 17 Nov 2005 16:21:46 +0000 (17:21 +0100)]
[ALSA] Remove snd_card_generic_dev()

Remove the obsolete snd_card_generic_dev().
CONFIG_SND_GENERIC_DRIVER is also removed from Kconfig.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove SND_GENERIC_DRIVER from arm/Kconfig
Takashi Iwai [Thu, 17 Nov 2005 16:20:15 +0000 (17:20 +0100)]
[ALSA] Remove SND_GENERIC_DRIVER from arm/Kconfig

Modules: ARM

Remove the obsolete SND_GENERIC_DRIVER from arm/Kconfig.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Use platform_device
Takashi Iwai [Thu, 17 Nov 2005 16:19:50 +0000 (17:19 +0100)]
[ALSA] Use platform_device

Modules: SA11xx UDA1341 driver

Rewrite the probe/remove with platform_device.
Fix PM support, too.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Fix PM support
Takashi Iwai [Thu, 17 Nov 2005 16:19:25 +0000 (17:19 +0100)]
[ALSA] Fix PM support

Modules: ARM AACI PL041 driver,ARM PXA2XX driver

Fix PM support of aaci and pxa2xx drivers.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] powermac - Use platform_device
Takashi Iwai [Thu, 17 Nov 2005 16:17:08 +0000 (17:17 +0100)]
[ALSA] powermac - Use platform_device

Modules: PPC,PPC PMAC driver,PPC PowerMac driver

Rewrite the probe/remove with platform_device.
Move the PM support to platform_device's callbacks.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] pdaudiocf - Fix PM support
Takashi Iwai [Thu, 17 Nov 2005 16:15:58 +0000 (17:15 +0100)]
[ALSA] pdaudiocf - Fix PM support

Modules: PDAudioCF driver

Fix the PM support on pdaudiocf driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] Remove SND_GENERIC_DRIVER from isa/Kconfig
Takashi Iwai [Thu, 17 Nov 2005 16:15:20 +0000 (17:15 +0100)]
[ALSA] Remove SND_GENERIC_DRIVER from isa/Kconfig

Modules: ISA

Remove the obsolete SND_GENERIC_DRIVER from isa/Kconfig.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] wavefront - Use platform_device
Takashi Iwai [Thu, 17 Nov 2005 16:14:11 +0000 (17:14 +0100)]
[ALSA] wavefront - Use platform_device

Modules: Wavefront drivers

Rewrite the probe/remove with platform_device.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] opti9xx - Use platform_device
Takashi Iwai [Thu, 17 Nov 2005 16:13:59 +0000 (17:13 +0100)]
[ALSA] opti9xx - Use platform_device

Modules: Opti9xx drivers

Rewrite the probe/remove with platform_device.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] gus - Use platform_device
Takashi Iwai [Thu, 17 Nov 2005 16:13:43 +0000 (17:13 +0100)]
[ALSA] gus - Use platform_device

Rewrite the probe/remove with platform_device.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] es1688 - Use platform_device
Takashi Iwai [Thu, 17 Nov 2005 16:13:30 +0000 (17:13 +0100)]
[ALSA] es1688 - Use platform_device

Modules: ES1688 driver

Rewrite the probe/remove with platform_device.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] sscape - Use platform_device
Takashi Iwai [Thu, 17 Nov 2005 16:13:12 +0000 (17:13 +0100)]
[ALSA] sscape - Use platform_device

Modules: Sound Scape driver

Rewrite the probe/remove with platform_device.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] sgalaxy - Use platform_device, add PM support
Takashi Iwai [Thu, 17 Nov 2005 16:12:43 +0000 (17:12 +0100)]
[ALSA] sgalaxy - Use platform_device, add PM support

Modules: Sound Galaxy driver

Rewrite the probe/remove with platform_device.
Also, add the PM support.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] es18xx - Use platform_device
Takashi Iwai [Thu, 17 Nov 2005 16:12:07 +0000 (17:12 +0100)]
[ALSA] es18xx - Use platform_device

Modules: ES18xx driver

Rewrite the probe/remove with platform_device.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] opl3sa2 - Use platform_device
Takashi Iwai [Thu, 17 Nov 2005 16:11:53 +0000 (17:11 +0100)]
[ALSA] opl3sa2 - Use platform_device

Modules: OPL3SA2 driver

Rewrite the probe/remove with platform_device.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] cmi8330 - Use platform_device, add PM support
Takashi Iwai [Thu, 17 Nov 2005 16:11:35 +0000 (17:11 +0100)]
[ALSA] cmi8330 - Use platform_device, add PM support

Modules: CMI8330 driver

Rewrite the probe/remove with platform_device.
Also, add the PM support.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] ad1816a - Clean up PnP code
Takashi Iwai [Thu, 17 Nov 2005 16:05:02 +0000 (17:05 +0100)]
[ALSA] ad1816a - Clean up PnP code

Modules: AD1816A driver

Clean up PnP code of ad1816a driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] dt019x - Add PM support
Takashi Iwai [Thu, 17 Nov 2005 16:04:35 +0000 (17:04 +0100)]
[ALSA] dt019x - Add PM support

Modules: DT019x driver

Add PM support to dt019x driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] azt2320 - Add PM support
Takashi Iwai [Thu, 17 Nov 2005 16:04:12 +0000 (17:04 +0100)]
[ALSA] azt2320 - Add PM support

Modules: AZT2320 driver

Add PM support to azt2320 driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] als100 - Add PM support
Takashi Iwai [Thu, 17 Nov 2005 16:03:53 +0000 (17:03 +0100)]
[ALSA] als100 - Add PM support

Modules: ALS100 driver

Add PM support to als100 driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] cs4236 - Use platform_device
Takashi Iwai [Thu, 17 Nov 2005 16:00:53 +0000 (17:00 +0100)]
[ALSA] cs4236 - Use platform_device

Modules: CS4236+ driver

Rewrite the probe/remove with platform_device.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] cs4231 - Use platform_device
Takashi Iwai [Thu, 17 Nov 2005 16:00:41 +0000 (17:00 +0100)]
[ALSA] cs4231 - Use platform_device

Modules: CS4231 driver

Rewrite the probe/remove with platform_device.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] cs4231 - Fix PM support
Takashi Iwai [Thu, 17 Nov 2005 16:00:17 +0000 (17:00 +0100)]
[ALSA] cs4231 - Fix PM support

Modules: CS4231 driver

Fix PM support.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] ad1848 - Use platform_device, add PM
Takashi Iwai [Thu, 17 Nov 2005 15:58:26 +0000 (16:58 +0100)]
[ALSA] ad1848 - Use platform_device, add PM

Modules: AD1848 driver

Rewrite the probe/remove with platform_device.
Add the PM support, too.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 years ago[ALSA] ad1848 - Add PM support
Takashi Iwai [Thu, 17 Nov 2005 15:57:48 +0000 (16:57 +0100)]
[ALSA] ad1848 - Add PM support

Modules: AD1848 driver

Add PM support to ad1848 support code.

Signed-off-by: Takashi Iwai <tiwai@suse.de>