GitHub/LineageOS/android_kernel_samsung_universal7580.git
17 years ago[ALSA] snd-emu10k1: Initial support for E-Mu 1616 and 1616m.
James Courtier-Dutton [Sat, 14 Jul 2007 01:18:26 +0000 (02:18 +0100)]
[ALSA] snd-emu10k1: Initial support for E-Mu 1616 and 1616m.

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] cs46xx - Fix PM resume
Takashi Iwai [Thu, 19 Jul 2007 09:23:21 +0000 (11:23 +0200)]
[ALSA] cs46xx - Fix PM resume

Fixed PM resume of cs46xx devices.  It now restores properly the DSP
image and kick-off the DSP.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda: Enable SPDIF in/out on some stac9205 boards
Matthew Ranostay [Tue, 17 Jul 2007 09:52:24 +0000 (11:52 +0200)]
[ALSA] hda: Enable SPDIF in/out on some stac9205 boards

Added support for some boards with SPDIF in/out, and cleaned up the GPIO
enable function.

Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] timer: check for incorrect device state in non-debug compiles, too
Clemens Ladisch [Mon, 16 Jul 2007 09:01:30 +0000 (11:01 +0200)]
[ALSA] timer: check for incorrect device state in non-debug compiles, too

Convert the snd_assert()s to simple if()s to prevent crashes when one of
the timer instance ioctls is called before the file is bound to a timer
device.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] snd-aoa-codec-onyx: fix typo
Yoann Padioleau [Fri, 13 Jul 2007 22:33:15 +0000 (00:33 +0200)]
[ALSA] snd-aoa-codec-onyx: fix typo

Parse error in ifdef or bad use of macro.

Signed-off-by: Yoann Padioleau <padator@wanadoo.fr>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add quirks for HP dx2200/dx2250
Claudio Matsuoka [Fri, 13 Jul 2007 22:26:16 +0000 (00:26 +0200)]
[ALSA] hda-codec - Add quirks for HP dx2200/dx2250

HP dx2200 and dx2250 use Micro-Star International (MSI) motherboards
(models MS-7254 and MS-7297 respectively) with an ALC862 codec in
threestack configuration. Adding this quirk allows correct 5.1 sound
output in these systems.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Rename HP model-specific quirks
Claudio Matsuoka [Fri, 13 Jul 2007 12:36:19 +0000 (14:36 +0200)]
[ALSA] hda-codec - Rename HP model-specific quirks

Rename ALC888_HP_NETTLE and ALC888_HP_LUCKNOW models to the more generic
names ALC888_6ST_HP and ALC888_3ST_HP since HP seems to be consistent
in the wiring of their 3stack and 6stack ALC888-based systems.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add quirk for HP Samba
Claudio Matsuoka [Fri, 13 Jul 2007 09:51:32 +0000 (11:51 +0200)]
[ALSA] hda-codec - Add quirk for HP Samba

This patch fixes 5.1 surround output for the HP Samba using the same
quirk as the HP Lucknow. If HP machines are uniform in their wiring,
we should rename ALC888_HP_NETTLE to ALC888_6ST_HP and ALC888_HP_LUCKNOW
to ALC888_3ST_HP for generic HP 6stack and 3stack configurations.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add LG LW20 line-in capture source
Claudio Matsuoka [Fri, 13 Jul 2007 09:51:06 +0000 (11:51 +0200)]
[ALSA] hda-codec - Add LG LW20 line-in capture source

Add line-in to the list of LG LW20 capture sources. Also fix the LG LW
pin assignment list comment.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] usb-audio - Fix AC3 with M-Audio Audiophile USB
Thibault Le Meur [Fri, 13 Jul 2007 09:50:23 +0000 (11:50 +0200)]
[ALSA] usb-audio - Fix AC3 with M-Audio Audiophile USB

Fixed AC3 interface in device_setup=0x00 mode thanks to Hakan
Lennestal and updated documentation

Signed-off-by: Thibault Le Meur <Thibault.LeMeur@supelec.fr>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda: stac9202 mixer fix
Matthew Ranostay [Thu, 12 Jul 2007 13:17:34 +0000 (15:17 +0200)]
[ALSA] hda: stac9202 mixer fix

Added support for line out controls for STAC9202 cards, and fixed issue
where master mixer control was being created twice for headphone and
speaker outs.

Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] Make s3c24xx_i2s_set_clkdiv() change the correct bits
Matt Reimer [Thu, 12 Jul 2007 10:27:24 +0000 (12:27 +0200)]
[ALSA] Make s3c24xx_i2s_set_clkdiv() change the correct bits

Make s3c24xx_i2s_set_clkdiv() change the correct bits.

Signed-off-by: Matt Reimer <mreimer@vpop.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add LG LW20 si3054 modem id
Claudio Matsuoka [Thu, 12 Jul 2007 09:27:37 +0000 (11:27 +0200)]
[ALSA] hda-codec - Add LG LW20 si3054 modem id

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] usb-audio - Fix audiophile-USB quirk for little-endian
Thibault Le Meur [Thu, 12 Jul 2007 09:26:35 +0000 (11:26 +0200)]
[ALSA] usb-audio - Fix audiophile-USB quirk for little-endian

Audiophile-usb fix (corrects little-endianness in 16bit
modes, resets interfaces at device initialization, and updates the
documentation).

Signed-off-by: Thibault Le Meur <Thibault.LeMeur@supelec.fr>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add VIA HDA to si3054
Claudio Matsuoka [Wed, 11 Jul 2007 08:31:08 +0000 (10:31 +0200)]
[ALSA] hda-codec - Add VIA HDA to si3054

Add VIA HDA identification to use the HDA-based Motorola modem of
the Clevo m540 laptop.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] HDA-Intel - Add support for MSI K9AGM2-FIH motherboard
Tobin Davis [Tue, 10 Jul 2007 15:04:57 +0000 (17:04 +0200)]
[ALSA] HDA-Intel - Add support for MSI K9AGM2-FIH motherboard

This patch adds support for the MSI K9AGM2-FIH on-board audio.

Signed-off-by: Tobin Davis <tdavis@dsl-only.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] USB ID for intergrated quickcam on dell xps m1210
Ritesh Raj Sarraf [Tue, 10 Jul 2007 11:03:57 +0000 (13:03 +0200)]
[ALSA] USB ID for intergrated quickcam on dell xps m1210

This patch adds Logitech QuickCam USB ID for Dell's
XPS M1210 notebooks.

Signed-off-by: Ritesh Raj Sarraf <rrs@researchut.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] fix SND_CS5530=y, ISA=n compilation
Adrian Bunk [Tue, 10 Jul 2007 09:34:32 +0000 (11:34 +0200)]
[ALSA] fix SND_CS5530=y, ISA=n compilation

This patch fixes the following compile error with
CONFIG_SND_CS5530=y, CONFIG_ISA=n:
<--  snip  -->
...
  LD      .tmp_vmlinux1
sound/built-in.o: In function 'snd_sb16_capture_trigger':
sb16_main.c:(.text+0x212ad): undefined reference to 'snd_sbdsp_command'
sb16_main.c:(.text+0x212cc): undefined reference to 'snd_sbdsp_command'
sb16_main.c:(.text+0x212f7): undefined reference to 'snd_sbdsp_command'
sound/built-in.o: In function 'snd_sb16_playback_trigger':
sb16_main.c:(.text+0x2136d): undefined reference to 'snd_sbdsp_command'
sb16_main.c:(.text+0x2138c): undefined reference to 'snd_sbdsp_command'
...
<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix default pin config of Abit AW9D-MAX
Takashi Iwai [Mon, 9 Jul 2007 22:47:43 +0000 (00:47 +0200)]
[ALSA] hda-codec - Fix default pin config of Abit AW9D-MAX

Fix the default pin configuration of Abit AW9D-MAX.  The board has a
broken BIOS that doesn't set the correct pin default configs, which
screws up the auto-configuration of snd-hda-intel driver.
The patch enables the override of default pin config values.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix Toshiba A100 with ALC861
Takashi Iwai [Mon, 9 Jul 2007 15:53:18 +0000 (17:53 +0200)]
[ALSA] hda-codec - Fix Toshiba A100 with ALC861

One of the newly added model entries causes a regression on Toshiba A100.
It works fine with model=auto.  So, let's deselect the entry again.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] usb-audio: another Logitech camera/microphone ID match
George Shapovalov [Mon, 9 Jul 2007 08:42:35 +0000 (10:42 +0200)]
[ALSA] usb-audio: another Logitech camera/microphone ID match

From: George Shapovalov <george@gentoo.org>
Another case of ALSA ticket #3040: we need an explicit USB ID match for
another Logitech camera/microphone device.

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] usbaudio - Add quirk for Roland EXR series
Takashi Iwai [Mon, 9 Jul 2007 08:39:44 +0000 (10:39 +0200)]
[ALSA] usbaudio - Add quirk for Roland EXR series

Added a quirk for Roland EXR series.  Reported by Andre Coetzee.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] aica - fix behaviour in poor resource conditions
Takashi Iwai [Mon, 9 Jul 2007 08:36:22 +0000 (10:36 +0200)]
[ALSA] aica - fix behaviour in poor resource conditions

Fix behaviour in poor resource conditions.  With this new patch,
tidied with indent and with SNDRV_PCM_TRIGGER_STOP being used.
Signed-off by: Adrian McMenamin <adrian@mcmen.demon.co.uk>

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-intel - Show the last command in warning messages
Takashi Iwai [Fri, 6 Jul 2007 18:22:05 +0000 (20:22 +0200)]
[ALSA] hda-intel - Show the last command in warning messages

Show the last issued command in warning messages when any communication
error with CORB/RIRB occurs.
Also, a bit code clean-up for composing the command value in
*_send_cmd().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix number of pin widgets with STAC codecs
Takashi Iwai [Fri, 6 Jul 2007 16:17:04 +0000 (18:17 +0200)]
[ALSA] hda-codec - Fix number of pin widgets with STAC codecs

Use ARRAY_SIZE() to calculate the number of pin widgets for each codec
chip.
This also fixes a typo in STAC9205 code that gives a wrong number (14
instead of 12), which resulted in fatal communication errors.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] Remove unreferenced header file include/sound/wavefront_fx.h
Robert P. J. Day [Fri, 6 Jul 2007 11:27:16 +0000 (13:27 +0200)]
[ALSA] Remove unreferenced header file include/sound/wavefront_fx.h

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] Fix substream to check in PCM drain
Takashi Iwai [Fri, 6 Jul 2007 10:27:25 +0000 (12:27 +0200)]
[ALSA] Fix substream to check in PCM drain

The check of a substream in snd_pcm_drain() might not be always correct
since runtime can point a different substream (although the PCM state
of each linked substream should be same, in theory).
This patch fixes it.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] Add missing model entries for HD-audio codecs
Takashi Iwai [Fri, 6 Jul 2007 10:24:55 +0000 (12:24 +0200)]
[ALSA] Add missing model entries for HD-audio codecs

Added missing model entries for HD-audio codecs in the module option list.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add missing model parameter strings for ALC262
Takashi Iwai [Fri, 6 Jul 2007 10:24:11 +0000 (12:24 +0200)]
[ALSA] hda-codec - Add missing model parameter strings for ALC262

Added the missing model option values for ALC262.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] Update Claudio's CREDITS information
Claudio Matsuoka [Fri, 6 Jul 2007 10:11:22 +0000 (12:11 +0200)]
[ALSA] Update Claudio's CREDITS information

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add HP Lucknow 5.1 support
Claudio Matsuoka [Fri, 6 Jul 2007 10:10:45 +0000 (12:10 +0200)]
[ALSA] hda-codec - Add HP Lucknow 5.1 support

Added HP Lucknow (ALC888) 5.1 surround support based on ALC883 6-channel
threestack with changes in channel routing.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix HP Nettle 5.1 output
Claudio Matsuoka [Fri, 6 Jul 2007 10:10:01 +0000 (12:10 +0200)]
[ALSA] hda-codec - Fix HP Nettle 5.1 output

Fixed HP Nettle 6ch/8ch channel routing based on ALC883 sixstack and
swapping rear and center/LFE in verbs and mixer settings.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix the recording selection on VAIO laptop
Takashi Iwai [Thu, 5 Jul 2007 11:10:51 +0000 (13:10 +0200)]
[ALSA] hda-codec - Fix the recording selection on VAIO laptop

Fix the mismatch of init verb and capture mux with VAIO STAC9872.
Also, changed the item names to be more intuitive.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix ALC662 auto mode
Kailang Yang [Thu, 5 Jul 2007 10:35:15 +0000 (12:35 +0200)]
[ALSA] hda-codec - Fix ALC662 auto mode

Fixed ALC662 auto mode, wrong NIDs were chosen.

Signed-off-by: Kailang Yang <kailang@realtek.com.tw>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Some fixes for Realtek codec supports
Kailang Yang [Thu, 5 Jul 2007 09:43:05 +0000 (11:43 +0200)]
[ALSA] hda-codec - Some fixes for Realtek codec supports

- Added BenQ T31-16 AMD Turion64x2 (ALC262) support
- Added models for ASUS machines with ALC861

Signed-off-by: Kailang Yang <kailang@realtek.com.tw>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix 5.1 output in LG LW20
Claudio Matsuoka [Wed, 4 Jul 2007 13:17:38 +0000 (15:17 +0200)]
[ALSA] hda-codec - Fix 5.1 output in LG LW20

Implemented LG LW20 5.1 support based on ALC880 threestack modes. It was
previously set to use one DAC and 2 jack modes, giving 2-channel output
only. Analog CD playing support is still missing.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] nm256 - Add mention of opl3sa2 to a diagnostic message
Paul Vojta [Wed, 4 Jul 2007 08:35:29 +0000 (10:35 +0200)]
[ALSA] nm256 - Add mention of opl3sa2 to a diagnostic message

Adds mention of opl3sa2 driver to a diagnostic message for NeoMagic
nm256 driver.

Signed-off-by: Paul Vojta <vojta@math.berkeley.edu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] opl3sa2 - Add Neomagic MagicWave 3D ISA PnP ID
Paul Vojta [Wed, 4 Jul 2007 08:34:22 +0000 (10:34 +0200)]
[ALSA] opl3sa2 - Add Neomagic MagicWave 3D ISA PnP ID

Add Neomagic MagicWave 3D to list of supported devices for opl3sa2
driver.

Signed-off-by: Paul Vojta <vojta@math.berkeley.edu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add support for HP Nettle
Claudio Matsuoka [Tue, 3 Jul 2007 18:02:49 +0000 (20:02 +0200)]
[ALSA] hda-codec - Add support for HP Nettle

Added the model for HP Nettle mobo with ALC883.
From: Claudio Matsuoka <cmatsuoka@gmail.com>

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add support for HP Spartan
Claudio Matsuoka [Tue, 3 Jul 2007 18:05:19 +0000 (20:05 +0200)]
[ALSA] hda-codec - Add support for HP Spartan

Added the model for HP Spartan with Conexant codec chip.
From: Claudio Matsuoka <cmatsuoka@gmail.com>

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] usb-audio - Add quirk for Roland Juno-G
Claudio Matsuoka [Tue, 3 Jul 2007 18:07:39 +0000 (20:07 +0200)]
[ALSA] usb-audio - Add quirk for Roland Juno-G

Added a quirk for Roland Juno-G.  It's simply a copy of Fantom-X with the
IDs changed.
From: Claudio Matsuoka <cmatsuoka@gmail.com>

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] Add PS3 sound driver
Masakazu Mokuno [Tue, 3 Jul 2007 10:54:49 +0000 (12:54 +0200)]
[ALSA] Add PS3 sound driver

The patch adds the support for the sound feature of PS3 - the digital
output of HDMI and SPDIF optical, and the analog output of AV multi.

Signed-off-by: Masakazu Mokuno <mokuno@sm.sony.co.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] usb-audio: add Roland SH-201 support
Carlo Beccaria [Tue, 3 Jul 2007 06:04:25 +0000 (08:04 +0200)]
[ALSA] usb-audio: add Roland SH-201 support

Add quirks to detect the Roland SH-201.

Signed-off-by: Carlo Beccaria <carlo@beccaria.org>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix the error in DAC assignment of STAC codec
Takashi Iwai [Mon, 2 Jul 2007 17:18:00 +0000 (19:18 +0200)]
[ALSA] hda-codec - Fix the error in DAC assignment of STAC codec

The STAC codec support code has the automatic recognition of
additional side-output pins, and this may result in an error when
the assigned pin has no corresponding DAC connection.
The patch fixes the problem -- it corrects the line_outs again
without such additional pins.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] sound/pci/hda/patch_realtek.c: remove dead code
Adrian Bunk [Mon, 2 Jul 2007 14:03:12 +0000 (16:03 +0200)]
[ALSA] sound/pci/hda/patch_realtek.c: remove dead code

This patch removes some dead code spotted by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] portman2x4 section mismatch
Randy Dunlap [Wed, 27 Jun 2007 09:52:39 +0000 (11:52 +0200)]
[ALSA] portman2x4 section mismatch

FIx section mismatch when CONFIG_HOTPLUG=n:
WARNING: sound/built-in.o(.exit.text+0x271): Section mismatch: reference to .init.text:snd_p
ortman_unregister_all (between 'snd_portman_module_exit' and 'alsa_mpu401_uart_exit')

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] fix ensoniq section mismatch
Randy Dunlap [Tue, 26 Jun 2007 09:43:52 +0000 (11:43 +0200)]
[ALSA] fix ensoniq section mismatch

Fix ensoniq driver sections when HOTPLUG=n, but code is used
during resume, so it cannot be discarded:
WARNING: sound/pci/snd-ens1371.o(.text+0x5c0): Section mismatch: reference to .init.text: (between 'snd_ensoniq_chip_init' and 'snd_ensoniq_free')

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] HDA - Change default configuration for Fujitsu Si3515
Tobin Davis [Mon, 25 Jun 2007 10:14:25 +0000 (12:14 +0200)]
[ALSA] HDA - Change default configuration for Fujitsu Si3515

This patch changes the default configuration for the Fujitsu Siemens
Si3515 Laptop to the correct model=laptop.

Signed-off-by: Tobin Davis <tdavis@dsl-only.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda: support for S/PDIF out on ASUS M2V
Mike Crash [Mon, 25 Jun 2007 10:12:51 +0000 (12:12 +0200)]
[ALSA] hda: support for S/PDIF out on ASUS M2V

Added support for S/PDIF digital output on ASUS M2V motheboard - added
new model '3stack-660-digout' and ALC660VD_3ST_DIG

Signed-off-by: Mike Crash <mike@mikecrash.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] Fix invalid schedule_timeout_interruptible()
Takashi Iwai [Mon, 25 Jun 2007 10:09:32 +0000 (12:09 +0200)]
[ALSA] Fix invalid schedule_timeout_interruptible()

Fixed the invalid use of schedule_timeout_interruptible() without
checking pending signals.  Simply replaced with schedule_timeout().
Suggestions thanks to Jeff Garzik.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] more section mismatches
Randy Dunlap [Mon, 25 Jun 2007 10:08:01 +0000 (12:08 +0200)]
[ALSA] more section mismatches

Something about __init_or_module isn't working as expected (?).
CONFIG_HOTPLUG=y
CONFIG_MODULES=n
Fix shared init/exit code helper:
WARNING: sound/built-in.o(.exit.text+0x243): Section mismatch: reference to .init.text: (between 'alsa_card_mpu401_exit' and 'ac97_bus_exit')
WARNING: sound/built-in.o(.exit.text+0x21b): Section mismatch: reference to .init.text: (between 'alsa_card_dummy_exit' and 'alsa_card_serial_exit')

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] fix section mismatch
Randy Dunlap [Mon, 25 Jun 2007 10:07:38 +0000 (12:07 +0200)]
[ALSA] fix section mismatch

Fix shared init/exit function attributes:
WARNING: sound/built-in.o(.exit.text+0x4a1): Section mismatch: reference to .init.text: (between 'alsa_card_virmidi_exit' and 'alsa_card_serial_exit')
WARNING: sound/built-in.o(.exit.text+0x4c1): Section mismatch: reference to .init.text: (between 'alsa_card_serial_exit' and 'ac97_bus_exit')

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add AD1882 codec support
Takashi Iwai [Wed, 20 Jun 2007 13:46:13 +0000 (15:46 +0200)]
[ALSA] hda-codec - Add AD1882 codec support

Added AD1882 codec support.  It has currently two models, 3stack and
6stack.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Output MFG information for HDA devices
Jonathan Phenix [Tue, 19 Jun 2007 16:31:28 +0000 (18:31 +0200)]
[ALSA] hda-codec - Output MFG information for HDA devices

This patch output information about the MFG (Modem Function Group) to
the /proc/asound/card?/codec#? file. This information is important to
identify if a HDA device has a modem or not.

Signed-off-by: Jonathan Phenix <jonathan@linuxant.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda: add eapd support to additional idt codecs
Matthew Ranostay [Tue, 19 Jun 2007 14:48:28 +0000 (16:48 +0200)]
[ALSA] hda: add eapd support to additional idt codecs

Added support for EAPD on the 927x, and 9227-8 IDT HDA codecs.
Enabling EAPD powers the internal speaker amp otherwise there is no
sound on systems with an internal amp.

Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add model dell for Dell XPS M1210
Takashi Iwai [Tue, 19 Jun 2007 10:17:42 +0000 (12:17 +0200)]
[ALSA] hda-codec - Add model dell for Dell XPS M1210

Added a new model 'dell' for Dell XPS M1210 with STAC922x codec chip.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add Fujitsu Siemens v3515 support to patch_conexant
Tobin Davis [Tue, 19 Jun 2007 10:13:32 +0000 (12:13 +0200)]
[ALSA] hda-codec - Add Fujitsu Siemens v3515 support to patch_conexant

This patch adds support for the Fujitsu Seimens Amilo Pro v3515 notebook.

Signed-off-by: Tobin Davis <tdavis@dsl-only.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] ASoC S3C24xx machine drivers - lm4857-h missing patch
Graeme Gregory [Tue, 19 Jun 2007 10:12:33 +0000 (12:12 +0200)]
[ALSA] ASoC S3C24xx machine drivers - lm4857-h missing patch

Somewhere when dealing with the s3c24xx patches and requested changes I
managed to miss this file on re-submission.
Its a header file required for compilation of neo1973-wm8573.c and
should be a no brainer.

Signed-off-by: Graeme Gregory <gg@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix ALC662 auto-configuration code
Takashi Iwai [Tue, 19 Jun 2007 10:11:16 +0000 (12:11 +0200)]
[ALSA] hda-codec - Fix ALC662 auto-configuration code

The auto-configuration code didn't initialize the verbs correctly.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add model for Toshiba A135
Takashi Iwai [Thu, 14 Jun 2007 10:58:23 +0000 (12:58 +0200)]
[ALSA] hda-codec - Add model for Toshiba A135

Added model=lenovo for Toshiba A135 with ALC861VD codec.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add HP Pavillion quirk to Realtek code
Tobin Davis [Tue, 12 Jun 2007 09:27:46 +0000 (11:27 +0200)]
[ALSA] hda-codec - Add HP Pavillion quirk to Realtek code

This patch adds the HP Pavillion a1589L desktop system to the ALC883
configuration table.

Signed-off-by: Tobin Davis <tdavis@dsl-only.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] ali5451 warning fix
Andrew Morton [Mon, 11 Jun 2007 10:23:31 +0000 (12:23 +0200)]
[ALSA] ali5451 warning fix

sound/pci/ali5451/ali5451.c: In function 'snd_ali_prepare':
sound/pci/ali5451/ali5451.c:716: warning: 'R2' may be used uninitialized in this function

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] emu10k1 - EMU 1212 with 16 capture channels
Pavel Hofman [Mon, 11 Jun 2007 10:21:20 +0000 (12:21 +0200)]
[ALSA] emu10k1 - EMU 1212 with 16 capture channels

* adding 8 more 32-bit capture channels (total of 16) for emu1010 cards
* adding some code comments and card details description

Signed-off-by: Pavel Hofman <dustin@seznam.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] Add the MCP73/77 support to hda_intel driver
Peer Chen [Fri, 8 Jun 2007 11:55:10 +0000 (13:55 +0200)]
[ALSA] Add the MCP73/77 support to hda_intel driver

Add the MCP73/MCP77 support to hda driver.
The patch base on kernel 2.6.22-rc4

Signed-off-by: Peer Chen <peerchen@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix Thinkpad X61/T61 outputs
Takashi Iwai [Fri, 8 Jun 2007 10:25:25 +0000 (12:25 +0200)]
[ALSA] hda-codec - Fix Thinkpad X61/T61 outputs

Enable EAPD bit on Thinkpad X61/T61.  The recent model requires it
explicitly to make any sounds.   In future, it should be toggled
automatically on demand.
Also, added a beep volume/switch.  Some people like it although I
don't understand why :)

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] soc/sh: let SND_SOC_PCM_SH7760 depend on SH_DMABRG
Manuel Lauss [Fri, 8 Jun 2007 09:41:34 +0000 (11:41 +0200)]
[ALSA] soc/sh: let SND_SOC_PCM_SH7760 depend on SH_DMABRG

Let SND_SOC_PCM_SH7760 depend on SH_DMABRG rather than select'ing it.
Gets rid of the Kbuild warning about SH_DMABRG being undefined on non-sh
builds.

Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add quirk for another MSI laptop to alc883_cfg_tbl[]
Daniel T Chen [Fri, 8 Jun 2007 09:39:35 +0000 (11:39 +0200)]
[ALSA] hda-codec - Add quirk for another MSI laptop to alc883_cfg_tbl[]

This hg commit adds the SSID of another MSI laptop to the
alc883_cfg_tbl[] quirk list.  Verified in #alsa/Freenode
on Thu, Jun 7, 2007.

Signed-off-by: Daniel T Chen <crimsun@ubuntu.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] Yet another Uniwill laptop with ALC861 codec
Dave Jones [Wed, 6 Jun 2007 12:48:52 +0000 (14:48 +0200)]
[ALSA] Yet another Uniwill laptop with ALC861 codec

From: Dave Jones <davej@redhat.com>
Rediffed version of the patch from ..
http://bugzilla.kernel.org/show_bug.cgi?id=8016
that seems to be lingering for some time.
Original patch by: Andy Shevchenko <andy@smile.org.ua>

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add support of ALC268 codec
Kailang Yang [Tue, 5 Jun 2007 10:30:55 +0000 (12:30 +0200)]
[ALSA] hda-codec - Add support of ALC268 codec

Added the support of new ALC268 codec chip.

Signed-off-by: Kailang Yang <kailang@realtek.com.tw>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add proper model for HP xw series
Kailang Yang [Tue, 5 Jun 2007 10:17:21 +0000 (12:17 +0200)]
[ALSA] hda-codec - Add proper model for HP xw series

Set the proper model for HP xw4550, xw4600, xw6600 and xw8600.

Signed-off-by: Kailang Yang <kailang@realtek.com.tw>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix AD1984 basic model
Takashi Iwai [Tue, 5 Jun 2007 10:13:34 +0000 (12:13 +0200)]
[ALSA] hda-codec - Fix AD1984 basic model

Fix the amp direction of digital mic capture volume mixer, which
resulted in -EINVAL.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] More description on duplex streams with OSS emulation
Alan Horstmann [Mon, 4 Jun 2007 21:11:23 +0000 (23:11 +0200)]
[ALSA] More description on duplex streams with OSS emulation

Add paragraph to the OSS document to clarify correct use of duplex streams.

Signed-off-by: Alan Horstmann <gineera@aspect135.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix Oops with AD1984 thinkpad model
Takashi Iwai [Mon, 4 Jun 2007 16:32:23 +0000 (18:32 +0200)]
[ALSA] hda-codec - Fix Oops with AD1984 thinkpad model

Fixed Oops with AD1984 thinkpad model.  Also fixed the wrong
init verbs for NID 0x03 and 0x04, which have apparently no mute
bit.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] rme9652 - Fix the hw_pointer check
Takashi Iwai [Wed, 30 May 2007 10:46:21 +0000 (12:46 +0200)]
[ALSA] rme9652 - Fix the hw_pointer check

The negative check in hw_pointer callback doesn't work because the
value is unsigned.  Cast to int in the comparison to fix this.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] ali5451 - Fix invalid type of codec->irq field
Takashi Iwai [Wed, 30 May 2007 10:42:31 +0000 (12:42 +0200)]
[ALSA] ali5451 - Fix invalid type of codec->irq field

The irq field of struct snd_ali shouldn't be unsigned since it's
uninitialized value is -1.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix STAC922x capture boost level
Takashi Iwai [Tue, 29 May 2007 17:01:37 +0000 (19:01 +0200)]
[ALSA] hda-codec - Fix STAC922x capture boost level

STAC922x provides the capture boost level up to 4, but actually it
works only up to 2.  Since the range of the mixer is automatically
defined from amp-capability bits, we need to override the value
beforehand.  snd_hda_override_amp_caps() is introduced for this
purpose.
The function patch_stac922x() calls this for NID 0x12 (Mux Capture
Volume).  This should fix another recording problem on Intel Macs.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix pin configs for Intel Macs
Ivan N. Zlatev [Tue, 29 May 2007 14:03:00 +0000 (16:03 +0200)]
[ALSA] hda-codec - Fix pin configs for Intel Macs

* adds the pinconfigs for all 5 Apple boards and 14 Subsystem IDs
  (support for possibly all iMac, Mac, MacMini etc etc)
* adds 'intel-mac-v1' to v5 models which replace the current
* reflects changes in Alsa-Configuration.txt

Signed-off-by: Ivan N. Zlatev <contact@i-nz.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] Disable debugging output for the ALS300 driver
Ash Willis [Tue, 29 May 2007 12:34:17 +0000 (14:34 +0200)]
[ALSA] Disable debugging output for the ALS300 driver

Disables debugging output in the ALS300 driver.
Also contains a whitespace cleanup and a fix for a potential bug.

Signed-off-by: Ash Willis <ashwillis@programmer.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] Fix SB-module dependency with PCI drivers
Takashi Iwai [Fri, 25 May 2007 09:50:33 +0000 (11:50 +0200)]
[ALSA] Fix SB-module dependency with PCI drivers

A few PCI drivers like ALS4000 and CS5530 require the SB16-codes.
This patch fixes / improves the dependency between SB modules and
PCI drivers.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] Add support for Cyrix/NatSemi Geode CS5530 (VSA1)
Takashi Iwai [Thu, 24 May 2007 16:46:54 +0000 (18:46 +0200)]
[ALSA] Add support for Cyrix/NatSemi Geode CS5530 (VSA1)

Add support for Cyrix/NatSemi Geode SC5530 (VSA1).
The driver is snd-cs5530.
Signed-off-by Ash Willis <ashwillis@programmer.net>

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix wrong mixer controls for AD1984 thinkpad model
Takashi Iwai [Wed, 23 May 2007 14:27:32 +0000 (16:27 +0200)]
[ALSA] hda-codec - Fix wrong mixer controls for AD1984 thinkpad model

Fixed the wrong mixer controls for AD1984 thinkpad model.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add support of newer version of Intel iMac
Takashi Iwai [Mon, 21 May 2007 10:41:29 +0000 (12:41 +0200)]
[ALSA] hda-codec - Add support of newer version of Intel iMac

Added the pin configs for newer version of Intel iMac.
The information provided by Ivan N. Zlatev <contact@i-nz.net>.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] ice1724 - Add PCM Playback Switch to Revo 7.1
Pavel Hofman [Sat, 19 May 2007 15:21:04 +0000 (17:21 +0200)]
[ALSA] ice1724 - Add PCM Playback Switch to Revo 7.1

This patch adds the support of mute for front channels of M-Audio
Revolution 7.1 (the DAC AK4381 features a mute bit).

Signed-off-by: Pavel Hofman <dustin@seznam.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] Add description about probe_mask option for snd-hda-intel
Takashi Iwai [Sat, 19 May 2007 15:06:42 +0000 (17:06 +0200)]
[ALSA] Add description about probe_mask option for snd-hda-intel

Added a brief description about probe_mask option for snd-hda-intel.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add AD1884 / AD1984 codec support
Takashi Iwai [Fri, 18 May 2007 16:21:41 +0000 (18:21 +0200)]
[ALSA] hda-codec - Add AD1884 / AD1984 codec support

Added the support of AD1884 and AD1984 codec chips.
Also experimental quirks for Thinkpad T61/X61 laptops with AD1984.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] Add ALSA support for the SEGA Dreamcast PCM device
Adrian McMenamin [Fri, 18 May 2007 12:26:59 +0000 (14:26 +0200)]
[ALSA] Add ALSA support for the SEGA Dreamcast PCM device

ALSA support for the SEGA Dreamcast Yamaha AICA sound device (pcm)
This patch adds ALSA sound support for pcm playback on two channels on
the SEGA Dreamcast built-in sound device (the Yamaha AICA)
Add driver for the AICA sound device built into the SEGA Dreamcast
Hook it all up with the build system.

Signed-off-by: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] SH7760 ASoC support
Manuel Lauss [Mon, 14 May 2007 16:40:07 +0000 (18:40 +0200)]
[ALSA] SH7760 ASoC support

ALSA ASoC support for SH7760
This patch adds ALSA ASoC drivers for the Audio interfaces
of the SH7760 SoC:
Add driver for the SH7760 DMA engine (dmabrg)
Add AC97 driver for HAC unit(s) found on SH7760/SH7780
Add I2S driver for SSI unit(s) found on SH7760/SH7780
Add a generic SH7760-AC97 machine driver.
Hook it all up with the build system.

Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] ASoC S3C24xx machine drivers - Kconfig
Graeme Gregory [Mon, 14 May 2007 09:06:11 +0000 (11:06 +0200)]
[ALSA] ASoC S3C24xx machine drivers - Kconfig

This patch adds Kconfig and build support for the Neo1973, SMDK2443 and
S3C2443 AC97 ALSA audio drivers.

Signed-off-by: Graeme Gregory <gg@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] ASoC S3C24xx machine drivers - I2C ID for LM4857
Liam Girdwood [Mon, 14 May 2007 09:05:09 +0000 (11:05 +0200)]
[ALSA] ASoC S3C24xx machine drivers - I2C ID for LM4857

This patch adds I2C ID for the LM4857 audio amp and corrects the spacing
of the WM8731, WM8750 and WM8753 ID's.

Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] ASoC S3C24xx machine drivers - SMDK 2443
Graeme Gregory [Mon, 14 May 2007 09:04:34 +0000 (11:04 +0200)]
[ALSA] ASoC S3C24xx machine drivers - SMDK 2443

This patch adds ALSA support for the SMDK2443 reference board.

Signed-off-by: Graeme Gregory <gg@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] ASoC S3C24xx machine drivers - Openmoko Neo1973
Graeme Gregory [Mon, 14 May 2007 09:03:52 +0000 (11:03 +0200)]
[ALSA] ASoC S3C24xx machine drivers - Openmoko Neo1973

This patch adds ALSA support for the Openmoko Neo1973 phone. Features:-
 * HiFi Playback and capture.
 * Phone calls supported.
 * Support for BT PCM in WM8753 voice interface.
 * Support for LM4857 audio amp.

Signed-off-by: Graeme Gregory <gg@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] ASoC S3C24xx machine drivers - s3c2443-AC97
Graeme Gregory [Mon, 14 May 2007 09:02:51 +0000 (11:02 +0200)]
[ALSA] ASoC S3C24xx machine drivers - s3c2443-AC97

This patch adds AC97 support to the Samsung S3C2443 CPU.

Signed-off-by: Graeme Gregory <gg@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] usbusx2yaudio: kfree(NULL) is valid
Richard Knutsson [Mon, 14 May 2007 08:38:57 +0000 (10:38 +0200)]
[ALSA] usbusx2yaudio: kfree(NULL) is valid

if (!x) kfree(x); is not needed since kfree(NULL) is valid.

Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] usb-audio: another Logitech QuickCam ID
Daniel Drake [Thu, 10 May 2007 06:52:19 +0000 (08:52 +0200)]
[ALSA] usb-audio: another Logitech QuickCam ID

This patch adds the ID for another quickcam microphone, reported by freqmod
on ALSA ticket #0003040
I'm going to submit a USB patch separately to provide a macro to simplify these
entries, as suggested by Alan Stern. We could switch to using that in future.

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] Fix unfreed pnp driver in opti9xx ISA driver
Takashi Iwai [Wed, 20 Jun 2007 10:03:09 +0000 (12:03 +0200)]
[ALSA] Fix unfreed pnp driver in opti9xx ISA driver

- Added the missing pnp_unregister_card_driver() in the case ISA PnP
  isn't found, which caused an error at kobject_add with -EEXIST
   Jun 11 09:07:31 rain kernel: kobject_add failed for opti9xx with -EEXIST, don't try to register things with the same name in the same directory.
   Jun 11 09:07:31 rain kernel:  [<c01c18fa>] kobject_shadow_add+0x12a/0x1c0
   Jun 11 09:07:31 rain kernel:  [<c01c1a81>] kobject_register+0x21/0x50
   Jun 11 09:07:31 rain kernel:  [<c01f09a2>] bus_add_driver+0x72/0x1b0
   Jun 11 09:07:31 rain kernel:  [<c01d3dff>] pnp_register_card_driver+0x4f/0xc0
   Jun 11 09:07:31 rain kernel:  [<c89bc00a>] alsa_card_opti9xx_init+0xa/0x25 [snd_opti92x_ad1848]
   Jun 11 09:07:31 rain kernel:  [<c0136947>] sys_init_module+0x157/0x1610
   Jun 11 09:07:31 rain kernel:  [<c01029b4>] syscall_call+0x7/0xb
- Fixed the probe behavior when no PnP is set up.  Now it behaves
  like the former version.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years agoMerge branch 'kmem_death' of master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6
Linus Torvalds [Fri, 20 Jul 2007 01:38:13 +0000 (18:38 -0700)]
Merge branch 'kmem_death' of /linux/kernel/git/lethal/sh-2.6

* 'kmem_death' of master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6:
  mm: Remove slab destructors from kmem_cache_create().

17 years agofallout from kbuild changes
Al Viro [Fri, 20 Jul 2007 01:01:16 +0000 (02:01 +0100)]
fallout from kbuild changes

Change in 'kbuild: do section mismatch check on full vmlinux'
should've been replicated in arch/um/Makefile.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
17 years agomm: Remove slab destructors from kmem_cache_create().
Paul Mundt [Fri, 20 Jul 2007 01:11:58 +0000 (10:11 +0900)]
mm: Remove slab destructors from kmem_cache_create().

Slab destructors were no longer supported after Christoph's
c59def9f222d44bb7e2f0a559f2906191a0862d7 change. They've been
BUGs for both slab and slub, and slob never supported them
either.

This rips out support for the dtor pointer from kmem_cache_create()
completely and fixes up every single callsite in the kernel (there were
about 224, not including the slab allocator definitions themselves,
or the documentation references).

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6
Linus Torvalds [Thu, 19 Jul 2007 23:31:22 +0000 (16:31 -0700)]
Merge /pub/scm/linux/kernel/git/bart/ide-2.6

* master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6: (23 commits)
  ide: add support for SCSI ioctls to ide-floppy
  ide: remove stale changelog from setup-pci.c
  ide: remove stale changelog/comments/TODO from ide.c
  ide-cris: handle PIO auto-tuning in tune_cris_ide()
  ide: add PIO masks
  ide: remove ide_find_best_pio_mode()
  ide: drop "PIO data" argument from ide_get_best_pio_mode()
  ide: ide_find_best_pio_mode() fixes (take 2)
  ide: add ide_pio_cycle_time() helper (take 2)
  sc1200: remove stale Power Management code
  ide: ide_start_power_step() fix WRT disabling DMA
  serverworks: fix DMA
  serverworks: always tune PIO
  ide: add ide_pci_device_t.host_flags (take 2)
  ide: add ide_dev_has_iordy() helper (take 4)
  ide: make ide_get_best_pio_mode() print info if overriding PIO mode
  siimage: PIO mode setup fixes (take 2)
  atiixp: PIO mode setup fixes
  ide: Stop mapping ROMs
  IDE: Remove references to dead ETRAX-related variables.
  ...

17 years agocoda breakage
Al Viro [Thu, 19 Jul 2007 23:23:31 +0000 (00:23 +0100)]
coda breakage

a) switch by loff_t == __cmpdi2 use.  Replaced with a couple
of obvious ifs; update of ->f_pos in the first one makes sure that we
do the right thing in all cases.
b) block_signals() and unblock_signals() are globals on UML.
Renamed coda ones; in principle UML probably ought to do rename as
well, but that's another story.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>