]> err.no Git - linux-2.6/log
linux-2.6
16 years ago[ALSA] oxygen: move MIDI flag to model struct
Clemens Ladisch [Wed, 19 Mar 2008 07:20:59 +0000 (08:20 +0100)]
[ALSA] oxygen: move MIDI flag to model struct

Put the flag that enables the MIDI port into the model structure instead
of passing it as a separate parameter to oxygen_pci_probe().

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] oxygen: make SPI/2-wire configuration model-specific
Clemens Ladisch [Wed, 19 Mar 2008 07:20:13 +0000 (08:20 +0100)]
[ALSA] oxygen: make SPI/2-wire configuration model-specific

Allow the model drivers to specify if the codec communication goes over
SPI or a 2-wire bus.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] oxygen: change model-specific PCM device configuration
Clemens Ladisch [Wed, 19 Mar 2008 07:19:41 +0000 (08:19 +0100)]
[ALSA] oxygen: change model-specific PCM device configuration

When specifying which PCM devices to use, model drivers now use flags
that also specify the routing between PCM devices and DMA channels
instead of just DMA channel bits.  This simplifies some code that checks
for these flags.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] oxygen: add monitor controls
Clemens Ladisch [Wed, 19 Mar 2008 07:17:33 +0000 (08:17 +0100)]
[ALSA] oxygen: add monitor controls

Add controls to enable monitoring of the analog and digital inputs.

To allow monitoring after loading the driver when nothing has been
played back or recorded yet, the I2S input and outputs are initialized
to a valid configuration.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] virtuoso: move PCM1796 symbols to a header file
Clemens Ladisch [Wed, 19 Mar 2008 07:16:40 +0000 (08:16 +0100)]
[ALSA] virtuoso: move PCM1796 symbols to a header file

Move the PCM1796 register symbol definitions to their own header file.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] oxygen: move WM8785 symbols to a header file
Clemens Ladisch [Wed, 19 Mar 2008 07:14:01 +0000 (08:14 +0100)]
[ALSA] oxygen: move WM8785 symbols to a header file

Move the WM8786 register symbol definitions to their own header file.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] Removed deprecated sound/driver.h from Freescale MPC8610 drivers
Timur Tabi [Tue, 18 Mar 2008 16:18:18 +0000 (17:18 +0100)]
[ALSA] Removed deprecated sound/driver.h from Freescale MPC8610 drivers

With commit 9004acc70e8c49c50c4c7b652f906f1e0ed5709d, include/sound/driver.h
is deprecated.  This patch removes the #include from fsl_ssi.c and fsl_dma.c.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-intel - Add sync support
Takashi Iwai [Tue, 18 Mar 2008 16:11:05 +0000 (17:11 +0100)]
[ALSA] hda-intel - Add sync support

Addded the support of sync streams to hda-intel driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Support of Lenovo Thinkpad X300
Takashi Iwai [Tue, 18 Mar 2008 11:13:03 +0000 (12:13 +0100)]
[ALSA] hda-codec - Support of Lenovo Thinkpad X300

Added the model thinkpad for Lenovo Thinkpad X300 with AD1984A codec.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] soc - Add missing audio path between Mono Mixer and Mic PGAs
Robert Jarzmik [Tue, 18 Mar 2008 11:08:35 +0000 (12:08 +0100)]
[ALSA] soc - Add missing audio path between Mono Mixer and Mic PGAs

Signed-off-by: Robert Jarzmik <rjarzmik@free.fr>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - keep the format verb at closing PCM streams
Takashi Iwai [Tue, 18 Mar 2008 08:57:50 +0000 (09:57 +0100)]
[ALSA] hda-codec - keep the format verb at closing PCM streams

Keep the format verb at closing PCM streams.
Introduced snd_hda_codec_cleanup_stream() for the parcicular purpose.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Fix spekaer output of Panasonic CF-74
Takashi Iwai [Tue, 18 Mar 2008 08:53:23 +0000 (09:53 +0100)]
[ALSA] hda-codec - Fix spekaer output of Panasonic CF-74

Add a new model "panasonic" for Panasonic CF-74 with STAC9200 codec
to fix the speaker output.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-intel - Add barrier
Takashi Iwai [Tue, 18 Mar 2008 08:47:06 +0000 (09:47 +0100)]
[ALSA] hda-intel - Add barrier

Add proper barriers in the RIRB communication code.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Map 3stack-6ch-dig ALC883 model for MSI 945GCM5 V2 (MSI-7267)
Herton Ronaldo Krzesinski [Tue, 18 Mar 2008 08:27:59 +0000 (09:27 +0100)]
[ALSA] hda-codec - Map 3stack-6ch-dig ALC883 model for MSI 945GCM5 V2 (MSI-7267)

Map 3stack-6ch-dig ALC883 model for MSI 945GCM5 V2 (MSI-7267).

Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda-codec - Fix DAC assignment order in ALC883
Herton Ronaldo Krzesinski [Tue, 18 Mar 2008 08:27:08 +0000 (09:27 +0100)]
[ALSA] hda-codec - Fix DAC assignment order in ALC883

Actually clfe and surround DACs are inverted in alc883_dac_nids array
(see ALC883 datasheet). I discovered this while testing multi-channel
setup (using 3stack-6ch-dig model) on MSI 945GCM5 V2 motherboard that
has an ALC883 codec. Simply Rear Left/Right and Center/LFE were swapped
in 6 channel mode (also in 4 channel mode you didn't get rear left/right
output). Other models also were affected by this bug, as can be seen by
the mixer layouts that "workaround" this (the real bug was not noticed,
and some other models simply played with mixer and initial verbs). Thus
along with fixing the order of dac nids, also change the models that
relied on previous dac ordering properly.

Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] sound/drivers/pcsp/pcsp.c build fix
Mariusz Kozlowski [Tue, 18 Mar 2008 08:03:03 +0000 (09:03 +0100)]
[ALSA] sound/drivers/pcsp/pcsp.c build fix

sound/drivers/pcsp/pcsp.c: In function 'snd_pcsp_create':
sound/drivers/pcsp/pcsp.c:54: error: 'loops_per_jiffy' undeclared (first use in\ this function)
sound/drivers/pcsp/pcsp.c:54: error: (Each undeclared identifier is reported on\ ly once
sound/drivers/pcsp/pcsp.c:54: error: for each function it appears in.)

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] at73c213: Add constraints for periods value
Atsushi Nemoto [Mon, 17 Mar 2008 13:36:24 +0000 (14:36 +0100)]
[ALSA] at73c213: Add constraints for periods value

The interrupt handler always provide runtime->period_size data, so it
works correctly only if buffer_size was a multiple of period_size.

This patch fixes periodic click noise.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] sound/pci: remove unused variable
Julia Lawall [Mon, 17 Mar 2008 09:23:35 +0000 (10:23 +0100)]
[ALSA] sound/pci: remove unused variable

The variable is_capture is initialized but never used otherwise.

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

// <smpl>
@@
type T;
identifier i;
constant C;
@@

(
extern T i;
|
- T i;
  <+... when != i
- i = C;
  ...+>
)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] ice1724 - Fix return codes in some pointis callbacks
Takashi Iwai [Mon, 17 Mar 2008 09:16:37 +0000 (10:16 +0100)]
[ALSA] ice1724 - Fix return codes in some pointis callbacks

Fixed the return codes (1 for changed values) in put callbacks of
pontis.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] usb-audio - Add a proper error check
Takashi Iwai [Mon, 17 Mar 2008 08:59:32 +0000 (09:59 +0100)]
[ALSA] usb-audio - Add a proper error check

The error in check_hw_params_convention() has to be checked and
handled properly.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] some fixes and cleanup for ICE1724 cards
Pavel Hofman [Mon, 17 Mar 2008 07:45:33 +0000 (08:45 +0100)]
[ALSA] some fixes and cleanup for ICE1724 cards

* removing the hack with NON_AKM ak4xxx type
* support for card-specific flags in ak4114_stats
* definition of the flags for corresponding cards

Signed-off-by: Pavel Hofman <dustin@seznam.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] [ML403-AC97CR] Remove duplicate snd_card_set_dev()
Joachim Foerster [Mon, 17 Mar 2008 07:40:12 +0000 (08:40 +0100)]
[ALSA] [ML403-AC97CR] Remove duplicate snd_card_set_dev()

We want to have snd_card_set_dev() in _probe(), but not a second one in
snd_ml403_ac97cr_create().

Signed-off-by: Joachim Foerster <JOFT@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] ice1724 - Fix the SPDIF input sample-rate on Juli@
Takashi Iwai [Fri, 14 Mar 2008 16:17:09 +0000 (17:17 +0100)]
[ALSA] ice1724 - Fix the SPDIF input sample-rate on Juli@

AK4114 on Juli@ has the SPDIF input sample rate detection and
causes errors when an incompatible sample rate is chosen.
The patch adds the open hook to check the current rate and limit
the hw constraints.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
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>