]> err.no Git - linux-2.6/log
linux-2.6
16 years ago[ALSA] hda-codec - Fujitsu Lifebook port replicator/dock headphone jack sense
Tony Vroon [Fri, 14 Mar 2008 16:09:18 +0000 (17:09 +0100)]
[ALSA] hda-codec - Fujitsu Lifebook port replicator/dock headphone jack sense

The docking station headphone output had no audio and jack sense
was not considered.

Jack information from the laptop itself and the dock are combined, as
the dock does not obscure the connector.

Signed-off-by: Tony Vroon <tony@linx.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-intel - Fix power-off hang on ASUS P5AD2
Takashi Iwai [Fri, 14 Mar 2008 14:52:20 +0000 (15:52 +0100)]
[ALSA] hda-intel - Fix power-off hang on ASUS P5AD2

The hda-intel driver has a problem at power-off on ASUS P5AD2.
It's caused when the position-buffer is enabled -- most likely a
hardware-specific problem.

This patch adds a quirk to avoid the unnecessary enablement of
position-buffer.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Map 3stack-6ch-dig ALC662 model for Asus P5GC-MX
Herton Ronaldo Krzesinski [Fri, 14 Mar 2008 11:52:59 +0000 (12:52 +0100)]
[ALSA] hda-codec - Map 3stack-6ch-dig ALC662 model for Asus P5GC-MX

Map 3stack-6ch-dig ALC662 model for Asus P5GC-MX.

Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Fix ALC662 DAC mixer mutes
Herton Ronaldo Krzesinski [Fri, 14 Mar 2008 11:52:20 +0000 (12:52 +0100)]
[ALSA] hda-codec - Fix ALC662 DAC mixer mutes

Currently ALC662 doesn't suport amp mute for AmpOut in nids 0x02, 0x03,
0x04 (see block diagram in ALC662 datasheet page 3, does M correspond to
mute?). The result is that currently mute for "Front Playback Switch",
"Surround Playback Switch", "Center Playback Switch" and "LFE Playback
Switch" mixer items doesn't work (tested on Asus P5GC-MX motherboard
with 3stack-6ch model).

The solution I found for this is to mute the proper inputs in 0x0c,
0x0d, 0x0e audio mixers.

Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Fix orphan Headphone controls in STAC codecs
Takashi Iwai [Fri, 14 Mar 2008 08:18:32 +0000 (09:18 +0100)]
[ALSA] hda-codec - Fix orphan Headphone controls in STAC codecs

Currently, the headphone controls are created as Master wrongly in
some cases, and this prevents the virtual master controls.
The patch fixes the problem by simply using "Headphone" always for
headphone controls.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda: 92HD73xxx distortion fix
Matthew Ranostay [Fri, 14 Mar 2008 07:46:51 +0000 (08:46 +0100)]
[ALSA] hda: 92HD73xxx distortion fix

Fixed issue on some laptops that if the Master mixer and DAC mixers are
turned all the way up that will cause distortion. This is fixed by limiting
the max volume with the volume knob nid.

Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] pcsp: locking fix
Stas Sergeev [Wed, 12 Mar 2008 12:12:15 +0000 (13:12 +0100)]
[ALSA] pcsp: locking fix

pcsp: locking fix.

Signed-off-by: Stas Sergeev <stsp@aknet.ru>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Improve ALC262 ultra model
Takashi Iwai [Wed, 12 Mar 2008 11:51:09 +0000 (12:51 +0100)]
[ALSA] hda-codec - Improve ALC262 ultra model

Improved ALC262 ultra model for Samsung Q1 Ultra series.

- clean up mixers
- support of input from HP jack as a mic
- add quirk for Q1 EL

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] at73c213: remove redundant private_free routine
Atsushi Nemoto [Tue, 11 Mar 2008 07:15:30 +0000 (08:15 +0100)]
[ALSA] at73c213: remove redundant private_free routine

snd_pcm_lib_preallocate_free_for_all() is called from snd_pcm_free() just
after calling the private_free routine.  So there should be no need to call
it in driver's private_free routine.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] aw2 - Rename aw2-tsl.h to aw2-tsl.c
Takashi Iwai [Mon, 10 Mar 2008 11:19:12 +0000 (12:19 +0100)]
[ALSA] aw2 - Rename aw2-tsl.h to aw2-tsl.c

aw2-tsl.h should be rather a C file to be included since it's referred
only in aw2-saa6146.c and includes a table data.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-intel - Fix microphone capture with ALC880 F1734 model
Michael Gruber [Mon, 10 Mar 2008 10:30:59 +0000 (11:30 +0100)]
[ALSA] hda-intel - Fix microphone capture with ALC880 F1734 model

The default capture source should be the mic which is 0x01 on this model.
In addition to that the change to VREF50 allows for higher capture volume.

Signed-off-by: Michael Gruber <lists.mg@googlemail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda: Reorganized DAC outputs
Matthew Ranostay [Mon, 10 Mar 2008 10:30:04 +0000 (11:30 +0100)]
[ALSA] hda: Reorganized DAC outputs

Changed so that internal speakers point to the Front mixer instead of Surround.

Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] release 1.0.16
Takashi Iwai [Mon, 10 Mar 2008 10:21:30 +0000 (11:21 +0100)]
[ALSA] release 1.0.16

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] at73c213: monaural support
Atsushi Nemoto [Sat, 8 Mar 2008 10:08:32 +0000 (11:08 +0100)]
[ALSA] at73c213: monaural support

Add support for monaural playback to at73c213 driver.  The sound will be apear
on L-channel.  Tested on AT91SAM9260-EK.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] at73c213: fix error checking for clk API
Atsushi Nemoto [Sat, 8 Mar 2008 10:07:26 +0000 (11:07 +0100)]
[ALSA] at73c213: fix error checking for clk API

The clk_round_rate() and clk_set_rate() will return int, so not store thier
return value to unsigned long variable.  This bug hides real error on these
API.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] HDA Codecs: add support for Toshiba Equium L30
Tobin Davis [Fri, 7 Mar 2008 10:57:51 +0000 (11:57 +0100)]
[ALSA] HDA Codecs: add support for Toshiba Equium L30

This patch adds support for the Toshiba Equium L30 laptop and renames the mixer
controls to match Laptop usages.

Signed-off-by: Tobin Davis <tdavis@dsl-only.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years agosound: Use BUG_ON
Julia Lawall [Tue, 4 Mar 2008 23:07:24 +0000 (15:07 -0800)]
sound: Use BUG_ON

if (...) BUG(); should be replaced with BUG_ON(...) when the test has no
side-effects to allow a definition of BUG_ON that drops the code completely.

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@ disable unlikely @ expression E,f; @@

(
  if (<... f(...) ...>) { BUG(); }
|
- if (unlikely(E)) { BUG(); }
+ BUG_ON(E);
)

@@ expression E,f; @@

(
  if (<... f(...) ...>) { BUG(); }
|
- if (E) { BUG(); }
+ BUG_ON(E);
)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
16 years ago[ALSA] hda-codec - Add internal mic item for ALC268 acer model
Takashi Iwai [Thu, 6 Mar 2008 15:58:35 +0000 (16:58 +0100)]
[ALSA] hda-codec - Add internal mic item for ALC268 acer model

Added the internal mic as a capture source item for ALC268 acer model.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Fix dmics on ALC268 in auto configuration
Takashi Iwai [Thu, 6 Mar 2008 15:58:17 +0000 (16:58 +0100)]
[ALSA] hda-codec - Fix dmics on ALC268 in auto configuration

Fixed the handling of dmics on ALC268 in the auto-configuration mode.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda_intel: Add the DIDs of nvidia MCP79 HD audio controller to hda_intel.c
Peer Chen [Thu, 6 Mar 2008 14:15:11 +0000 (15:15 +0100)]
[ALSA] hda_intel: Add the DIDs of nvidia MCP79 HD audio controller to hda_intel.c

Add the Device IDs of nvidia MCP79 HD audio controller to hda_intel.c

Signed-off-by: Peer Chen <peerchen@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - model for cx20549 to support laptop HP530
Jiang zhe [Thu, 6 Mar 2008 10:09:09 +0000 (11:09 +0100)]
[ALSA] hda-codec - model for cx20549 to support laptop HP530

Currently the model laptop-hpsense use the 0x12 as ExtMic,
and use 0x14 as Internal IntMic.
But the hp530 only have one ExtMic, the Pin widget is 0x14.

In this patch, I changed the mixer item for them.
I still reserved the IntMic item, it will be helpful if
other machine may use this model.

ALSA bug#3821.

Signed-off-by: Jiang zhe <zhe.jiang@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - model for alc883 to support FUJITSU Pi2515
Jiang zhe [Thu, 6 Mar 2008 10:07:11 +0000 (11:07 +0100)]
[ALSA] hda-codec - model for alc883 to support FUJITSU Pi2515

There is no suitable model for Pi2515.
This model is to support it.  ALSA bug#3800.

Signed-off-by: Jiang zhe <zhe.jiang@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] pcsp: add description
Stas Sergeev [Thu, 6 Mar 2008 10:01:44 +0000 (11:01 +0100)]
[ALSA] pcsp: add description

update ALSA-Configuration.txt

Signed-off-by: Stas Sergeev <stsp@aknet.ru>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] pcsp: improve "enable" option handling
Stas Sergeev [Thu, 6 Mar 2008 10:01:16 +0000 (11:01 +0100)]
[ALSA] pcsp: improve "enable" option handling

Simplify init code.

Signed-off-by: Stas Sergeev <stsp@aknet.ru>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] ALC288 - Add NEC S970 to the quirk table
Pascal Terjan [Tue, 4 Mar 2008 10:33:28 +0000 (11:33 +0100)]
[ALSA] ALC288 - Add NEC S970 to the quirk table

NEC S970 has no sound in the internal speakers when autodetection is
used.
With targa-dig model, there is sound in the speakers and it gets
correctly muted when pluging headphones.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] pcsp - clean ups
Stas Sergeev [Tue, 4 Mar 2008 10:28:43 +0000 (11:28 +0100)]
[ALSA] pcsp - clean ups

- make pcsp_start_timer_tasklet static
- remove redundant includes. <asm/i8253.h> is not available on all platforms.

Signed-off-by: Stas Sergeev <stsp@aknet.ru>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - model for alc883 to support M720R
Jiang zhe [Tue, 4 Mar 2008 10:20:33 +0000 (11:20 +0100)]
[ALSA] hda-codec - model for alc883 to support M720R

There is no suitable model for M720R (ALSA bug#3781).
This patch is to support HP jack-sensing and mixer.

Signed-off-by: Jiang zhe <zhe.jiang@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] aw2 - Remove endian dependency
Takashi Iwai [Tue, 4 Mar 2008 10:06:26 +0000 (11:06 +0100)]
[ALSA] aw2 - Remove endian dependency

Removed unnecessary dependency on the little-endianess.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] sound: replace remaining __FUNCTION__ occurences
Harvey Harrison [Mon, 3 Mar 2008 23:32:18 +0000 (15:32 -0800)]
[ALSA] sound: replace remaining __FUNCTION__ occurences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda_intel needs dma-mapping.h
Andrew Morton [Tue, 4 Mar 2008 09:08:58 +0000 (10:08 +0100)]
[ALSA] hda_intel needs dma-mapping.h

sparc32:

sound/pci/hda/hda_intel.c: In function 'azx_create':
sound/pci/hda/hda_intel.c:1838: error: 'DMA_64BIT_MASK' undeclared (first use in this function)
sound/pci/hda/hda_intel.c:1838: error: (Each undeclared identifier is reported only once
sound/pci/hda/hda_intel.c:1838: error: for each function it appears in.)

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] soc - Add Invert Switch for ROUT2
Graeme Gregory [Mon, 3 Mar 2008 16:19:45 +0000 (17:19 +0100)]
[ALSA] soc - Add Invert Switch for ROUT2

GTA02 device has a speaker between LOUT2 & ROUT2 and in this mode ROUT2
needs to be inverted. This patch adds a mixer control for this.

Signed-off-by: Graeme Gregory <graeme@openmoko.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] Add PC-speaker sound driver
Stas Sergeev [Mon, 3 Mar 2008 09:53:54 +0000 (10:53 +0100)]
[ALSA] Add PC-speaker sound driver

Added PC-speaker sound driver (snd-pcsp).

Signed-off-by: Stas Sergeev <stsp@aknet.ru>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Fix the array over-range access with stac92hd71bxx codec
Takashi Iwai [Fri, 29 Feb 2008 13:16:17 +0000 (14:16 +0100)]
[ALSA] hda-codec - Fix the array over-range access with stac92hd71bxx codec

Add the check of the array range for dac_nids to prevent the over-range
access.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] IEC958 definitions for consumer status channel, byte 4
Pawel MOLL [Fri, 29 Feb 2008 11:41:31 +0000 (12:41 +0100)]
[ALSA] IEC958 definitions for consumer status channel, byte 4

Added definition for byte 4 of SPDIF channel status, according to
second edition of IEC 60958-3 (consumer) spec.

Signed-off-by: Pawel MOLL <pawel.moll@st.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda: add verbs for 92hd73xxx laptops
Matthew Ranostay [Fri, 29 Feb 2008 11:08:20 +0000 (12:08 +0100)]
[ALSA] hda: add verbs for 92hd73xxx laptops

Added core_init[] for several 92hd73xxx laptops.

Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda: disable power management on fixed ports
Matthew Ranostay [Fri, 29 Feb 2008 11:07:43 +0000 (12:07 +0100)]
[ALSA] hda: disable power management on fixed ports

Power management can't be enabled on fixed ports, since the presence
will always return false and prevent output.

Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] sound: hda: missing includes of hda_patch.h
Harvey Harrison [Fri, 29 Feb 2008 10:59:26 +0000 (11:59 +0100)]
[ALSA] sound: hda: missing includes of hda_patch.h

Move the array declaration to hda_codec.c where it is used and add includes
where the individual presets are declared.

Fixes the following sparse warnings:
sound/pci/hda/patch_realtek.c:13744:25: warning: symbol 'snd_hda_preset_realtek' was not declared. Should it be static?
sound/pci/hda/patch_cmedia.c:729:25: warning: symbol 'snd_hda_preset_cmedia' was not declared. Should it be static?
sound/pci/hda/patch_analog.c:3656:25: warning: symbol 'snd_hda_preset_analog' was not declared. Should it be static?
sound/pci/hda/patch_sigmatel.c:3995:25: warning: symbol 'snd_hda_preset_sigmatel' was not declared. Should it be static?
sound/pci/hda/patch_si3054.c:286:25: warning: symbol 'snd_hda_preset_si3054' was not declared. Should it be static?
sound/pci/hda/patch_atihdmi.c:156:25: warning: symbol 'snd_hda_preset_atihdmi' was not declared. Should it be static?
sound/pci/hda/patch_conexant.c:1721:25: warning: symbol 'snd_hda_preset_conexant' was not declared. Should it be static?
sound/pci/hda/patch_via.c:1962:25: warning: symbol 'snd_hda_preset_via' was not declared. Should it be static?

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Use int instead of long in patch_sigmatel.c
Takashi Iwai [Fri, 29 Feb 2008 10:57:53 +0000 (11:57 +0100)]
[ALSA] hda-codec - Use int instead of long in patch_sigmatel.c

The HD-audio parameters are at most 32bit int.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] sound: patch_sigmatel.c fix shadowed variable warning
Harvey Harrison [Fri, 29 Feb 2008 10:56:48 +0000 (11:56 +0100)]
[ALSA] sound: patch_sigmatel.c fix shadowed variable warning

Temp variable in the loop shadows the second argument (which is otherwise
unused in this function).  Change this to defcfg as it is used to hold
the default config.
sound/pci/hda/patch_sigmatel.c:2759:18: warning: symbol 'cfg' shadows an earlier one
sound/pci/hda/patch_sigmatel.c:2734:26: originally declared here

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] sound: hdspm.c fix returning void expression warnings
Harvey Harrison [Fri, 29 Feb 2008 10:54:49 +0000 (11:54 +0100)]
[ALSA] sound: hdspm.c fix returning void expression warnings

Just drop the returns.
sound/pci/rme9652/hdspm.c:1031:3: warning: returning void-valued expression
sound/pci/rme9652/hdspm.c:1033:3: warning: returning void-valued expression

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] sound: riptide.c fix shadowed variable warnings
Harvey Harrison [Fri, 29 Feb 2008 10:54:26 +0000 (11:54 +0100)]
[ALSA] sound: riptide.c fix shadowed variable warnings

In both cases we are passing around the substream number, use
sub_num for this.
sound/pci/riptide/riptide.c:1633:6: warning: symbol 'index' shadows an earlier one
sound/pci/riptide/riptide.c:121:12: originally declared here
sound/pci/riptide/riptide.c:1673:6: warning: symbol 'index' shadows an earlier one
sound/pci/riptide/riptide.c:121:12: originally declared here

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] sound: pcxhr_core.c fix shadowed variable warning
Harvey Harrison [Fri, 29 Feb 2008 10:53:59 +0000 (11:53 +0100)]
[ALSA] sound: pcxhr_core.c fix shadowed variable warning

Inner loop redeclares err with u32 rather than int, stupid fix here
is to change the inner err to err2.
sound/pci/pcxhr/pcxhr_core.c:1008:8: warning: symbol 'err' shadows an earlier one
sound/pci/pcxhr/pcxhr_core.c:983:6: originally declared here

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] sound: virtuoso.c fix shadowed variable warning
Harvey Harrison [Fri, 29 Feb 2008 10:46:57 +0000 (11:46 +0100)]
[ALSA] sound: virtuoso.c fix shadowed variable warning

Use priv_idx as an identifier.
sound/pci/oxygen/virtuoso.c:277:15: warning: symbol 'index' shadows an earlier one
sound/pci/oxygen/virtuoso.c:56:12: originally declared here

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] sound: ice1712.c fix shadowed variable warnings
Harvey Harrison [Fri, 29 Feb 2008 10:52:50 +0000 (11:52 +0100)]
[ALSA] sound: ice1712.c fix shadowed variable warnings

In all four case, adding a private value to the iooff index,
call it priv_idx.
sound/pci/ice1712/ice1712.c:1300:6: warning: symbol 'index' shadows an earlier one
sound/pci/ice1712/ice1712.c:85:12: originally declared here
sound/pci/ice1712/ice1712.c:1312:6: warning: symbol 'index' shadows an earlier one
sound/pci/ice1712/ice1712.c:85:12: originally declared here
sound/pci/ice1712/ice1712.c:1338:6: warning: symbol 'index' shadows an earlier one
sound/pci/ice1712/ice1712.c:85:12: originally declared here
sound/pci/ice1712/ice1712.c:1350:6: warning: symbol 'index' shadows an earlier one
sound/pci/ice1712/ice1712.c:85:12: originally declared here

[tiwai - fixed coding issues as well]

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] sound: emu10k1x.c fix shadowed variable warnings
Harvey Harrison [Fri, 29 Feb 2008 10:44:57 +0000 (11:44 +0100)]
[ALSA] sound: emu10k1x.c fix shadowed variable warnings

enable in these contexts refers specifically to intr enable, as
per the two functions it is found in.  Use intr_enable instead.
sound/pci/emu10k1/emu10k1x.c:330:15: warning: symbol 'enable' shadows an earlier one
sound/pci/emu10k1/emu10k1x.c:53:12: originally declared here
sound/pci/emu10k1/emu10k1x.c:341:15: warning: symbol 'enable' shadows an earlier one
sound/pci/emu10k1/emu10k1x.c:53:12: originally declared here

instead of shadowing, use cap_voice as we test for the capture
voice in this statement.
sound/pci/emu10k1/emu10k1x.c:798:25: warning: symbol 'pvoice' shadows an earlier one
sound/pci/emu10k1/emu10k1x.c:787:24: originally declared here

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] sound: emuproc.c fix signedness warning
Harvey Harrison [Fri, 29 Feb 2008 10:44:26 +0000 (11:44 +0100)]
[ALSA] sound: emuproc.c fix signedness warning

Reading regs from the fpga into an int instead of a u32, trivial
fix.
sound/pci/emu10k1/emuproc.c:422:34: warning: incorrect type in argument 3 (different signedness)
sound/pci/emu10k1/emuproc.c:422:34:    expected unsigned int [usertype] *value
sound/pci/emu10k1/emuproc.c:422:34:    got int *<noident>

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] sound: au88x0_pcm.c fix integer as NULL pointer warning
Harvey Harrison [Fri, 29 Feb 2008 10:41:56 +0000 (11:41 +0100)]
[ALSA] sound: au88x0_pcm.c fix integer as NULL pointer warning

sound/pci/au88x0/au88x0_pcm.c:508:15: warning: Using plain integer as NULL pointer

Also some small codingstyle fixes.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] snd-dummy - better realtime app support
Ahmet İnan [Thu, 28 Feb 2008 11:46:32 +0000 (12:46 +0100)]
[ALSA] snd-dummy - better realtime app support

when the time interval for a period is smaller than kernel HZ, then
snd-aloop and snd-dummy cannot call snd_pcm_period_elapsed as fast enough
annymore. this happens for example with games. but the app still needs to
see, that the buffer actually did go further, which is provided by these
patches.

Signed-off-by: Ahmet İnan <ainan <at> mathematik.uni-freiburg.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] sound: ca0106_mixer.c fix shadowed variable warnings
Harvey Harrison [Thu, 28 Feb 2008 11:02:56 +0000 (12:02 +0100)]
[ALSA] sound: ca0106_mixer.c fix shadowed variable warnings

Change the variable err to _err within the ADD_CTLS macro to avoid
shadowing the local variable.

sound/pci/ca0106/ca0106_mixer.c:710:2: warning: symbol 'err' shadows an earlier one
sound/pci/ca0106/ca0106_mixer.c:663:6: originally declared here
sound/pci/ca0106/ca0106_mixer.c:712:3: warning: symbol 'err' shadows an earlier one
sound/pci/ca0106/ca0106_mixer.c:663:6: originally declared here
sound/pci/ca0106/ca0106_mixer.c:721:3: warning: symbol 'err' shadows an earlier one
sound/pci/ca0106/ca0106_mixer.c:663:6: originally declared here

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] sound: ca0106_main.c fix shadowed variable warnings
Harvey Harrison [Thu, 28 Feb 2008 11:02:22 +0000 (12:02 +0100)]
[ALSA] sound: ca0106_main.c fix shadowed variable warnings

change to intr_enable as per the two functions it is defined in.
sound/pci/ca0106/ca0106_main.c:438:15: warning: symbol 'enable' shadows an earlier one
sound/pci/ca0106/ca0106_main.c:159:12: originally declared here
sound/pci/ca0106/ca0106_main.c:449:15: warning: symbol 'enable' shadows an earlier one
sound/pci/ca0106/ca0106_main.c:159:12: originally declared here

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] sound: ali5451.c fix shadowed variable warnings
Harvey Harrison [Thu, 28 Feb 2008 11:00:48 +0000 (12:00 +0100)]
[ALSA] sound: ali5451.c fix shadowed variable warnings

enable is used to test for whether or not spdif should be enabled,
change to spdif_enable.

sound/pci/ali5451/ali5451.c:1812:15: warning: symbol 'enable' shadows an earlier one
sound/pci/ali5451/ali5451.c:63:12: originally declared here
sound/pci/ali5451/ali5451.c:1840:27: warning: symbol 'enable' shadows an earlier one
sound/pci/ali5451/ali5451.c:63:12: originally declared here

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] sound: ac97_pcm.c fix shadowed variable warning
Harvey Harrison [Thu, 28 Feb 2008 10:58:18 +0000 (11:58 +0100)]
[ALSA] sound: ac97_pcm.c fix shadowed variable warning

err is always assigned before it is used, no need to declare another
inside the if statement.
sound/pci/ac97/ac97_pcm.c:577:7: warning: symbol 'err' shadows an earlier one
sound/pci/ac97/ac97_pcm.c:572:6: originally declared here

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] sound: rme96.c fix integer as NULL pointer warning
Harvey Harrison [Thu, 28 Feb 2008 10:57:47 +0000 (11:57 +0100)]
[ALSA] sound: rme96.c fix integer as NULL pointer warning

kernel style does assignment outside of if() block
sound/pci/rme96.c:1562:71: warning: Using plain integer as NULL pointer

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] sound: rme32.c fix integer as NULL pointer warning
Harvey Harrison [Thu, 28 Feb 2008 10:57:23 +0000 (11:57 +0100)]
[ALSA] sound: rme32.c fix integer as NULL pointer warning

kernel style does assignment outside of if() statements.
sound/pci/rme32.c:1353:71: warning: Using plain integer as NULL pointer

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] sound: maestro3.c fix shadowed variable warnings
Harvey Harrison [Thu, 28 Feb 2008 10:56:37 +0000 (11:56 +0100)]
[ALSA] sound: maestro3.c fix shadowed variable warnings

change id to elem_id as it is used to initialize each mixer element
sound/pci/maestro3.c:2071:25: warning: symbol 'id' shadows an earlier one
sound/pci/maestro3.c:67:13: originally declared here

index is used in each of these places to count over the dsp's memory,
change to the name dsp_index
sound/pci/maestro3.c:2572:9: warning: symbol 'index' shadows an earlier one
sound/pci/maestro3.c:66:12: originally declared here
sound/pci/maestro3.c:2604:9: warning: symbol 'index' shadows an earlier one
sound/pci/maestro3.c:66:12: originally declared here

[tiwai - fixed coding style issues as well]

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] sound: fm801.c fix shadowed variable warning
Harvey Harrison [Thu, 28 Feb 2008 10:55:07 +0000 (11:55 +0100)]
[ALSA] sound: fm801.c fix shadowed variable warning

id was only used as a counter in a for loop, move the declaration
to where it is used and change it to i.
sound/pci/fm801.c:1288:6: warning: symbol 'id' shadows an earlier one
sound/pci/fm801.c:51:13: originally declared here

[tiwai - fixed a coding style issue as well]

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] sound: es1968.c fox shadowed variable warning
Harvey Harrison [Thu, 28 Feb 2008 10:53:41 +0000 (11:53 +0100)]
[ALSA] sound: es1968.c fox shadowed variable warning

id is used when initializing the mixer elements, use elem_id here
instead.
sound/pci/es1968.c:1963:25: warning: symbol 'id' shadows an earlier one
sound/pci/es1968.c:129:13: originally declared here

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] sound: ens1370.c fix shadowed variable warning
Harvey Harrison [Thu, 28 Feb 2008 10:53:07 +0000 (11:53 +0100)]
[ALSA] sound: ens1370.c fix shadowed variable warning

index is incremented only when AC97_EI_SPDIF and then assigned to
the index field.  Change the temporary name to is_spdif.

sound/pci/ens1370.c:1638:10: warning: symbol 'index' shadows an earlier one
sound/pci/ens1370.c:84:12: originally declared here

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] sound: cmipci.c fix shadowed variable warning
Harvey Harrison [Thu, 28 Feb 2008 10:52:17 +0000 (11:52 +0100)]
[ALSA] sound: cmipci.c fix shadowed variable warning

A temporary variable for each mixer element is used in an initialization
loop, use the name elem_id.

sound/pci/cmipci.c:2747:26: warning: symbol 'id' shadows an earlier one
sound/pci/cmipci.c:56:13: originally declared here

[tiwai - fixed a coding style issue as well]

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] soc - Report errors from snd_soc_dapm_set_endpoint()
Mark Brown [Tue, 26 Feb 2008 12:16:08 +0000 (13:16 +0100)]
[ALSA] soc - Report errors from snd_soc_dapm_set_endpoint()

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Add docking-station mic input for Thinkpad X61
Takashi Iwai [Tue, 26 Feb 2008 10:56:35 +0000 (11:56 +0100)]
[ALSA] hda-codec - Add docking-station mic input for Thinkpad X61

Added the docking-stationc mic input to the capture source list
for Thinkpad X61.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Fix initial DAC numbers of 92HD71bxx codecs
Takashi Iwai [Mon, 25 Feb 2008 17:26:41 +0000 (18:26 +0100)]
[ALSA] hda-codec - Fix initial DAC numbers of 92HD71bxx codecs

Fix the initial num_dacs of 92HD71bxx codecs.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] usb-audio: sort quirks list
Clemens Ladisch [Mon, 25 Feb 2008 10:04:19 +0000 (11:04 +0100)]
[ALSA] usb-audio: sort quirks list

Move some entries to their proper position so that the list is again
sorted by vendor/product ID.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
16 years ago[ALSA] mpu401: reduce tx loop timeout
Clemens Ladisch [Mon, 25 Feb 2008 09:59:52 +0000 (10:59 +0100)]
[ALSA] mpu401: reduce tx loop timeout

Reduce the number of times to check for a non-empty Tx FIFO from 100 to
2 because there is no MPU-401 implementation that needs more than one or
two reads to determine the actual FIFO status.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
16 years ago[ALSA] hdsp - RME 9632 fix at 192kHz
Remy Bruno [Fri, 22 Feb 2008 16:57:02 +0000 (17:57 +0100)]
[ALSA] hdsp - RME 9632 fix at 192kHz

The bits indicating SPDIF frequency in the status register are not the same for
the 9632 than for the other cards, because it also supports 192kHz. A specific
bitmask has thus been added (used in hdsp_spdif_sample_rate()).
The 9632 does not seem to report external sample rates greater than 96kHz. In
this case, the best seems to report spdif rate when autosync reference is
spdif. This also required to move function hdsp_spdif_sample_rate().

Signed-off-by: Remy Bruno <remy.bruno@trinnov.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda: Mic as output fix
Matthew Ranostay [Fri, 22 Feb 2008 16:55:05 +0000 (17:55 +0100)]
[ALSA] hda: Mic as output fix

Added logic to check if AUTO_PIN_FRONT_MIC is available for output
switch, if AUTO_PIN_MIC isn't.

Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Add missing descriptions for STAC codec models
Takashi Iwai [Thu, 21 Feb 2008 13:11:09 +0000 (14:11 +0100)]
[ALSA] hda-codec - Add missing descriptions for STAC codec models

Added the missing descriptions for STAC codec models.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] seq-oss - Remove invalid BUG()
Takashi Iwai [Thu, 21 Feb 2008 11:40:00 +0000 (12:40 +0100)]
[ALSA] seq-oss - Remove invalid BUG()

Removed invalid BUG() - the driver should handle the error case properly
rather than issuing BUG().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-intel - Use PCI_DEVICE() macro
Takashi Iwai [Thu, 21 Feb 2008 07:13:11 +0000 (08:13 +0100)]
[ALSA] hda-intel - Use PCI_DEVICE() macro

Clean up the pci id table using PCI_DEVICE() macro.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] snd-dummy - improved timing, silence on prepare
Ahmet İnan [Thu, 21 Feb 2008 06:55:30 +0000 (07:55 +0100)]
[ALSA] snd-dummy - improved timing, silence on prepare

Signed-off-by: Ahmet İnan <ainan <at> mathematik.uni-freiburg.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda: STAC927x analog mic
Matthew Ranostay [Thu, 21 Feb 2008 06:51:46 +0000 (07:51 +0100)]
[ALSA] hda: STAC927x analog mic

Some laptops have a internal analog microphone that is not setup by the BIOS.

Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda: 92HDxxxx PCI Quirks
Matthew Ranostay [Thu, 21 Feb 2008 06:51:14 +0000 (07:51 +0100)]
[ALSA] hda: 92HDxxxx PCI Quirks

Added PCI_QUIRKS for laptop that have the 92HDxxx family of codecs.

Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda: STAC927x invalid association value
Matthew Ranostay [Thu, 21 Feb 2008 06:50:12 +0000 (07:50 +0100)]
[ALSA] hda: STAC927x invalid association value

STAC_DELL_BIOS quirks were setting the association value wrong
for port 0x0f, which prevented it from being included in hp_outs[].

Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda: fix STAC927x power management
Matthew Ranostay [Thu, 21 Feb 2008 06:49:31 +0000 (07:49 +0100)]
[ALSA] hda: fix STAC927x power management

Fix issue on STAC927x codecs that first DAC was getting powered down
even if was being used.

Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] ASoC: Add support for 12 MHz MCLK in TLV320AIC3X
Jarkko Nikula [Wed, 20 Feb 2008 16:13:44 +0000 (17:13 +0100)]
[ALSA] ASoC: Add support for 12 MHz MCLK in TLV320AIC3X

Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] Add description of aw2 driver
Takashi Iwai [Wed, 20 Feb 2008 11:13:29 +0000 (12:13 +0100)]
[ALSA] Add description of aw2 driver

Added a brief description of aw2 driver to ALSA-Configuration.txt.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] aw2 - Add missing module parameters
Takashi Iwai [Wed, 20 Feb 2008 11:12:58 +0000 (12:12 +0100)]
[ALSA] aw2 - Add missing module parameters

Added the missing declarations for module parameters.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] Emagic Audiowerk 2 ALSA driver.
Cedric Bregardis [Wed, 20 Feb 2008 11:05:13 +0000 (12:05 +0100)]
[ALSA] Emagic Audiowerk 2 ALSA driver.

Signed-off-by: Cedric Bregardis <cedric.bregardis@free.fr>
Signed-off-by: Jean-Christian Hassler <jhassler@free.fr>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Don't create multiple capture streams for single inputs
Takashi Iwai [Tue, 19 Feb 2008 14:03:57 +0000 (15:03 +0100)]
[ALSA] hda-codec - Don't create multiple capture streams for single inputs

When the device has only one input source, it makes no sense to have
multiple capture streams.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Fix ALC268 capture source
Takashi Iwai [Tue, 19 Feb 2008 14:00:15 +0000 (15:00 +0100)]
[ALSA] hda-codec - Fix ALC268 capture source

Initialize the capture source properly for auto model.
It's especially important for cases that only mic is detected.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Add beep volume control to ALC268
Takashi Iwai [Tue, 19 Feb 2008 12:16:41 +0000 (13:16 +0100)]
[ALSA] hda-codec - Add beep volume control to ALC268

Added the beep volume control to ALC268 codec support code.
Since the codec doesn't return the correct AMP caps, we need to override
the value.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Fix ALC662 recording
Kailang Yang [Tue, 19 Feb 2008 10:38:05 +0000 (11:38 +0100)]
[ALSA] hda-codec - Fix ALC662 recording

Fixed ALC662 recording issue.

Signed-off-by: Kailang Yang <kailang@realtek.com.tw>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-intel - Clean up stream definitions
Takashi Iwai [Tue, 19 Feb 2008 10:36:35 +0000 (11:36 +0100)]
[ALSA] hda-intel - Clean up stream definitions

Clean up the code to define playback/capture streams.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] ca0106 - Add master volume controls
Takashi Iwai [Mon, 18 Feb 2008 12:06:49 +0000 (13:06 +0100)]
[ALSA] ca0106 - Add master volume controls

Added master volume and switch controls for ca0106 using vmaster.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] Keep private TLV entry in vmaster itself
Takashi Iwai [Mon, 18 Feb 2008 12:05:50 +0000 (13:05 +0100)]
[ALSA] Keep private TLV entry in vmaster itself

Use a private array for TLV entries of virtual master controls instead
of (supposed) static array.  This cleans up the existing codes.

Also, now vmaster assumes the simple dB-range TLV that is the only type
it can handle.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] Move vmaster code to sound core
Takashi Iwai [Mon, 18 Feb 2008 12:03:13 +0000 (13:03 +0100)]
[ALSA] Move vmaster code to sound core

Move the codes for virtual master controls to sound core part so that
not only hda-intel drivers can use it.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] intel8x0 - Add support of 8 channel sound
Takashi Iwai [Mon, 18 Feb 2008 11:23:13 +0000 (12:23 +0100)]
[ALSA] intel8x0 - Add support of 8 channel sound

Added the support of 8 channel sound for codecs that are known to work.
So far, only ALC850 is marked as a 8ch-support codec.

This fix is a modified version of the patch on ALSA BTS#2097 by
Martin Ellis:
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2097

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] Add __devinit macro to at73c213 sound driver probe functions
Hans-Christian Egtvedt [Mon, 18 Feb 2008 10:44:56 +0000 (11:44 +0100)]
[ALSA] Add __devinit macro to at73c213 sound driver probe functions

This patch adds __devinit to the functions used when probing. Will also reduce
the memory footprint a bit if CONFIG_HOTPLUG is not enabled.

Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] Davinci ASoC support
Vladimir Barinov [Mon, 18 Feb 2008 10:40:22 +0000 (11:40 +0100)]
[ALSA] Davinci ASoC support

Add ASoC support for the TI Davinci SoC and the Davicni-EVM reference board.
It includes:
- ASoC Davinci DMA driver
- ASoC Davinci I2S (Davinci McBSP module based) driver
- ASoC Davinci-EVM reference board

Signed-off-by: Vladimir Barinov <vbarinov@ru.mvista.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Add model=mobile for AD1884A & co
Takashi Iwai [Sat, 16 Feb 2008 08:44:56 +0000 (09:44 +0100)]
[ALSA] hda-codec - Add model=mobile for AD1884A & co

Added the new model mobile for AD1884A and compatible codecs.
It's a reduced version of model=laptop.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Add support of AD1883/1884A/1984A/1984B
Takashi Iwai [Sat, 16 Feb 2008 08:43:56 +0000 (09:43 +0100)]
[ALSA] hda-codec - Add support of AD1883/1884A/1984A/1984B

Added the support of new AD codecs: AD1883, AD1884AAD1984A and AD1984B.
These are almost compatible except for additional digital pins, etc.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] ASoC: WM9713 driver
Liam Girdwood [Fri, 15 Feb 2008 15:43:11 +0000 (16:43 +0100)]
[ALSA] ASoC: WM9713 driver

This patch adds an ASoC driver for the WM9713 AC97 codec.

Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Fix missing capsrc_nids for ALC262
Takashi Iwai [Thu, 14 Feb 2008 16:27:17 +0000 (17:27 +0100)]
[ALSA] hda-codec - Fix missing capsrc_nids for ALC262

ALC262 must have capsrc_nids defined as well as in ALC882.
Also, add a NULL check in alc882_mux_enum_put to avoid Oops.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] HDA-Intel - Patch to support RV7xx HDMI Audio
Libin Yang [Thu, 14 Feb 2008 11:55:13 +0000 (12:55 +0100)]
[ALSA] HDA-Intel - Patch to support RV7xx HDMI Audio

This patch is to add R7xx HDMI audio support.

Signed-off-by: Libin Yang <Libin.yang@amd.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Fix breakage of resume in auto-config of realtek codecs
Takashi Iwai [Wed, 13 Feb 2008 16:19:35 +0000 (17:19 +0100)]
[ALSA] hda-codec - Fix breakage of resume in auto-config of realtek codecs

The last patch for fixing the auto-config pin setting breaks the resume
due to a wrong use of snd_hda_codec_amp_stereo().  The code in the init
hook shouldn't touch the amp cache.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Add more names to vendor list
Takashi Iwai [Wed, 13 Feb 2008 15:59:29 +0000 (16:59 +0100)]
[ALSA] hda-codec - Add more names to vendor list

Added more known names to the vendor id list.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Add "IEC958 Default PCM" switch
Takashi Iwai [Tue, 12 Feb 2008 17:37:26 +0000 (18:37 +0100)]
[ALSA] hda-codec - Add "IEC958 Default PCM" switch

Added a new mixer switch to enable/disable the sharing of the default
PCM stream with analog and SPDIF outputs.  When "IEC958 Default PCM"
switch is on, the PCM stream is routed both to analog and SPDIF outputs.
This is the behavior in the earlier version.

Turning this switch off has a merit for some codecs, though.  Some codec
chips don't support 24bit formats for SPDIF but only for analog outputs.
In this case, you can use 24bit format by disabling this switch.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Fix auto-configuration of Realtek codecs
Takashi Iwai [Tue, 12 Feb 2008 17:32:23 +0000 (18:32 +0100)]
[ALSA] hda-codec - Fix auto-configuration of Realtek codecs

This patch fixes some bugs in the auto-configurator of Realtek codecs:
- add missing pin set-up for speaker pins
- fix the speaker auto-mute function not to conflict with the existing
  "Speaker" mixer switch

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - More fix-up for auto-configuration
Takashi Iwai [Tue, 12 Feb 2008 17:30:12 +0000 (18:30 +0100)]
[ALSA] hda-codec - More fix-up for auto-configuration

In some cases, the BIOS sets up only the HP pins with different assoc
and sequence numbers, e.g. on FSC Esprimo with ALC262.

This patch adds a fix-up for such a case.  When multiple HPs are defined
and no line-outs is found, the configurator tries to re-assign some pins
from HP list to line-out, judging from the sequence number.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Implement auto-mic jack sensing on Samsung laptops
Takashi Iwai [Tue, 12 Feb 2008 11:11:36 +0000 (12:11 +0100)]
[ALSA] hda-codec - Implement auto-mic jack sensing on Samsung laptops

Implemented the auto-mic jack sensing for Samsung laptops with AD1986A
codec chip (model=laptop-eapd).

The hardware uses pin 0x1d and 0x1f for the internal and external
mics, respectively.

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