GitHub/exynos8895/android_kernel_samsung_universal8895.git
16 years agoALSA: Remove duplicate MODULE_AUTHOR/DESCRIPTION/LICENCE from snd-ens1370.ko
Jaroslav Kysela [Mon, 16 Jun 2008 08:39:34 +0000 (10:39 +0200)]
ALSA: Remove duplicate MODULE_AUTHOR/DESCRIPTION/LICENCE from snd-ens1370.ko

But comment only extra code in ak4531_codec.c for history.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: Release 1.0.17rc2
Jaroslav Kysela [Mon, 16 Jun 2008 07:42:25 +0000 (09:42 +0200)]
ALSA: Release 1.0.17rc2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: hda - use upper_32_bits()
Takashi Iwai [Fri, 13 Jun 2008 18:53:56 +0000 (20:53 +0200)]
ALSA: hda - use upper_32_bits()

Use the standard upper_32_bits() instead of own macro.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: hda - bdl_pos_adj=32 as default
Takashi Iwai [Fri, 13 Jun 2008 18:50:27 +0000 (20:50 +0200)]
ALSA: hda - bdl_pos_adj=32 as default

Use bdl_pos_adj=32 as default except for Intel hardwares confirmed
to work with bdl_pos_adj=1.  Looks like ATI and NVidia require this
higher value.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: ASoC: Don't block system resume
Andy Green [Fri, 13 Jun 2008 15:24:05 +0000 (16:24 +0100)]
ALSA: ASoC: Don't block system resume

On OpenMoko soc-audio resume is taking 700ms of the whole resume time of
1.3s, dominated by writes to the codec over I2C.  This patch shunts the
resume guts into a workqueue which then is done asynchronously.

The "card" is locked using the ALSA power state APIs as suggested by
Mark Brown.

[Added fix for race with resume to suspend and fixed a couple of nits
from checkpatch -- broonie.]

Signed-off-by: Andy Green <andy@openmoko.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: ASoC: Check for exact register match in wm97xx_reset()
Mark Brown [Fri, 13 Jun 2008 15:24:04 +0000 (16:24 +0100)]
ALSA: ASoC: Check for exact register match in wm97xx_reset()

To provide added robustness in case an AC97 controller reads back all
zeros in error cases check for an exact match when testing to see if
resets have brought the codec back.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: hda: Add support for 92HD73xxx codecs
Matthew Ranostay [Fri, 13 Jun 2008 16:04:33 +0000 (18:04 +0200)]
ALSA: hda: Add support for 92HD73xxx codecs

Added support for new family of IDT codecs.

Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: make snd_ctl_elem_read() and snd_ctl_elem_write() static
Takashi Iwai [Thu, 12 Jun 2008 16:17:26 +0000 (18:17 +0200)]
ALSA: make snd_ctl_elem_read() and snd_ctl_elem_write() static

snd_ctl_elem_read() and snd_ctl_elem_write() are no longer used by
any other drivers.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: hda - Remove unused mutex
Takashi Iwai [Thu, 12 Jun 2008 15:43:36 +0000 (17:43 +0200)]
ALSA: hda - Remove unused mutex

Removed unused mutex from patch_*.c.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: hda - Fix stac9205_cfg_tbl
Takashi Iwai [Thu, 12 Jun 2008 14:27:24 +0000 (16:27 +0200)]
ALSA: hda - Fix stac9205_cfg_tbl

Sort stac9205_cfg_table in the order of id numbers, and removed the
duplicated (obsoleted) entries for 0x01fc and 0x01fd.  This doesn't
change the driver behavior since the old entries are all secondary.

The duplication occured due to commit dfe495d0, and the old entries
were introduced by commit ae0a8ed8.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: ASoC: Cover also Nokia N810 WiMAX Edition in N810 machine driver
Jarkko Nikula [Wed, 11 Jun 2008 12:47:15 +0000 (13:47 +0100)]
ALSA: ASoC: Cover also Nokia N810 WiMAX Edition in N810 machine driver

Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: ASoC: Add TLV information to the LM4857 controls on the GTA01
Mike Montour [Wed, 11 Jun 2008 12:47:14 +0000 (13:47 +0100)]
ALSA: ASoC: Add TLV information to the LM4857 controls on the GTA01

Signed-off-by: Mike Montour <mail@mmontour.net>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: ASoC: Add SOC_SINGLE_EXT_TLV control type
Mike Montour [Wed, 11 Jun 2008 12:47:13 +0000 (13:47 +0100)]
ALSA: ASoC: Add SOC_SINGLE_EXT_TLV control type

Signed-off-by: Mike Montour <mail@mmontour.net>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: ASoC: Add TLV information to remaining WM8753 controls
Mike Montour [Wed, 11 Jun 2008 12:47:12 +0000 (13:47 +0100)]
ALSA: ASoC: Add TLV information to remaining WM8753 controls

Signed-off-by: Mike Montour <mail@mmontour.net>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: ASoC: Fix WM9713 voice PCM slave mode configuration
Mark Brown [Wed, 11 Jun 2008 12:47:11 +0000 (13:47 +0100)]
ALSA: ASoC: Fix WM9713 voice PCM slave mode configuration

Reported-by: Rodolfo Giometti <giometti@enneenne.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: ASoC: Pass the DAI being configured into CPU DAI probe and remove
Mark Brown [Wed, 11 Jun 2008 12:47:10 +0000 (13:47 +0100)]
ALSA: ASoC: Pass the DAI being configured into CPU DAI probe and remove

This allows per-DAI initialisation to be done by the CPU DAI drivers.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: ASoC: Add missing includes
Mark Brown [Wed, 11 Jun 2008 12:47:09 +0000 (13:47 +0100)]
ALSA: ASoC: Add missing includes

Ensure that DAIs are prototyped in the codec drivers that define them.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: ASoC: Tweak tlv320aicx reg_cache_size
Mark Brown [Wed, 11 Jun 2008 12:47:08 +0000 (13:47 +0100)]
ALSA: ASoC: Tweak tlv320aicx reg_cache_size

ASoC codec drivers frequently set the register cache size using sizeof()
rather than ARRAY_SIZE(). For tlv320aicx either is correct since the
registers are 8 bit but update to use ARRAY_SIZE() for clarity.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: ASoC: Fix register cache size for UDA1380
Mark Brown [Wed, 11 Jun 2008 12:47:07 +0000 (13:47 +0100)]
ALSA: ASoC: Fix register cache size for UDA1380

The register cache size is used by the codec_reg sysfs file which works in
terms of the register cache access functions rather than in terms of raw
access to the cache so the size specified needs to be in terms of the
number of elements.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: ASoC: Fix register cache sizes for Wolfson codecs
Mark Brown [Wed, 11 Jun 2008 12:47:06 +0000 (13:47 +0100)]
ALSA: ASoC: Fix register cache sizes for Wolfson codecs

The register cache size is used by the codec_reg sysfs file which works in
terms of the register cache access functions rather than in terms of raw
access to the cache so the size specified needs to be in terms of the
number of elements.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: opti93x: use cs4231 lib
Krzysztof Helt [Wed, 11 Jun 2008 10:26:32 +0000 (12:26 +0200)]
ALSA: opti93x: use cs4231 lib

This patch converts the Opti93x driver to use
the cs4231 library instead of duplicating the code.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Tested-by: Rene Herman <rene.herman@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: opti93x: add support for Opti93x codec in cs4231-lib
Krzysztof Helt [Mon, 9 Jun 2008 21:07:28 +0000 (23:07 +0200)]
ALSA: opti93x: add support for Opti93x codec in cs4231-lib

This patch adds support for WSS compatible Opti93x
codec to the cs4231-lib.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Tested-by: Rene Herman <rene.herman@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: hda - Add a warning if pending IRQ is found
Takashi Iwai [Tue, 10 Jun 2008 15:53:35 +0000 (17:53 +0200)]
ALSA: hda - Add a warning if pending IRQ is found

The pending IRQ handling is a very hackish workaround and should be
avoided as much as possible via a larger bdl_pos_adj option value.
Put a warning message if this situation occurs so that the user may have
a chance to notice that something is wrong.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: hda - Add description of bdl_pos_adj option
Takashi Iwai [Tue, 10 Jun 2008 15:53:35 +0000 (17:53 +0200)]
ALSA: hda - Add description of bdl_pos_adj option

Added a brief description of the new bdl_pos_adj option to
ALSA-Configuration.txt.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: hda - Fix bdl_pos_adj value for ATI SB chipsets
Takashi Iwai [Tue, 10 Jun 2008 15:53:35 +0000 (17:53 +0200)]
ALSA: hda - Fix bdl_pos_adj value for ATI SB chipsets

ATI SB controllers seem to report the DMA ahead in the amount of FIFO.
Thus bdl_pos_adj should be 32 for them as default.

Also, the default value is set to -1, which means to make the driver
to choose the appropriate value.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: hda - bdl_pos_adj option to each instance
Takashi Iwai [Tue, 10 Jun 2008 15:53:34 +0000 (17:53 +0200)]
ALSA: hda - bdl_pos_adj option to each instance

The option bdl_pos_adj should be provided for each card instance instead of
a global one because the value depends rather on each controller-chip.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: hda - remove position_fix=3
Takashi Iwai [Tue, 10 Jun 2008 15:53:34 +0000 (17:53 +0200)]
ALSA: hda - remove position_fix=3

position_fix=3 is the option to correct the DMA position with the
FIFO size.  But, it never worked correctly, and we have now more other
workarounds for the DMA position fixes.  Thus better to remove it.

Also, change POS_FIX_NONE to POS_FIX_LPIB to represent its real role
better.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: hda - Add bdl_pos_adj option
Takashi Iwai [Tue, 10 Jun 2008 15:53:20 +0000 (17:53 +0200)]
ALSA: hda - Add bdl_pos_adj option

Added a new option, bdl_pos_adj, to adjust the delay of IRQ-wakeup
timing.

Most HD-audio hardwares have a problem that a BDL IRQ is issued before
actually the data and the DMA pointer are updated.
We have already a mechanism to force to delay snd_pcm_period_elapsed()
calls via workq, but this costs much CPU, and typically the delay is
within one sample.  Thus, it's more clever to adjust the BDL entries
instead.

The new option adds the size of the delay in frames.  As default,
it's set to 1 -- that is, one sample delay.  Even the hardware is
really correct, one sample delay is relatively harmless in comparison
with reporting wrong positions.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agosound: sound/oss/dmasound/: cleanups
Adrian Bunk [Mon, 9 Jun 2008 22:26:28 +0000 (01:26 +0300)]
sound: sound/oss/dmasound/: cleanups

This patch contains the following cleanups:
- make the following needlessly global functions static:
  - dmasound_core.c: get_afmt_string()
  - dmasound_paula.c: dmasound_paula_init()
  - dmasound_q40.c: dmasound_q40_init()
- remove the following unused global variable:
  - dmasound_core.c: software_input_volume

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: emu10k1 - Fix page allocation with GFP_DMA
Takashi Iwai [Tue, 10 Jun 2008 10:34:45 +0000 (12:34 +0200)]
ALSA: emu10k1 - Fix page allocation with GFP_DMA

Added the missing GFP_ATOMIC to page_alloc when called with GFP_DMA.
GFP_KERNEL often results in stalls for ZONE_DMA, so GFP_ATOMIC is more
prgmatic.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda - Add Toshiba dynabook SS RX1 support
Akio Idehara [Mon, 9 Jun 2008 13:57:40 +0000 (22:57 +0900)]
[ALSA] hda - Add Toshiba dynabook SS RX1 support

I have Toshiba dynabook SS RX1 and this patch adds that support.

Signed-off-by: Akio Idehara <zbe64533@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] opti93x: fix sound ouput for Opti930
Krzysztof Helt [Sun, 8 Jun 2008 05:57:53 +0000 (07:57 +0200)]
[ALSA] opti93x: fix sound ouput for Opti930

This patch fixes silenced output from the Opti930.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Acked-by: Rene Herman <rene.herman@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] ac97 - Fix power_save option value as time-out
Takashi Iwai [Sun, 8 Jun 2008 07:17:27 +0000 (09:17 +0200)]
[ALSA] ac97 - Fix power_save option value as time-out

The power_save option was set as boot although it was meant to be a
timeout value like the same option of snd-hda-intel originally.
Now fixed to the same style.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] ASoC: Fix default mono mixer configuration for WM8510
Mark Brown [Fri, 6 Jun 2008 16:13:53 +0000 (17:13 +0100)]
[ALSA] ASoC: Fix default mono mixer configuration for WM8510

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] ac97: add support for wm9711 master left inv switch
Juergen Beisert [Fri, 6 Jun 2008 15:02:57 +0000 (17:02 +0200)]
[ALSA] ac97: add support for wm9711 master left inv switch

This patch adds support for Master Left Inv Switch on wm9711.
At least required to drive the mono speaker on the PXA270 platfrom

Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years agoALSA: make sparc/dbri.c:snd_dbri_proc() static
Adrian Bunk [Thu, 5 Jun 2008 18:29:18 +0000 (21:29 +0300)]
ALSA: make sparc/dbri.c:snd_dbri_proc() static

This patch makes the needlessly global snd_dbri_proc() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] usbaudio.c: remove #ifndef CONFIG_USB_EHCI_SPLIT_ISO code
Adrian Bunk [Thu, 5 Jun 2008 18:24:10 +0000 (21:24 +0300)]
[ALSA] usbaudio.c: remove #ifndef CONFIG_USB_EHCI_SPLIT_ISO code

Since USB_EHCI_SPLIT_ISO is now unconditionally enabled the
#ifndef CONFIG_USB_EHCI_SPLIT_ISO became wrong.

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] remove SND_GUS_SYNTH
Adrian Bunk [Thu, 5 Jun 2008 18:22:25 +0000 (21:22 +0300)]
[ALSA] remove SND_GUS_SYNTH

After the removal of the sequencer instrument layer SND_GUS_SYNTH was
no longer used.

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] Revised AT32 ASoC Patch
Geoffrey Wossum [Thu, 5 Jun 2008 12:49:34 +0000 (13:49 +0100)]
[ALSA] Revised AT32 ASoC Patch

Attached is a revised version of my patch to add AT32 to ASoC.  This cleans
most of the style issues associated with the previous patch.  Also fixes an
issue with the playpaq_wm8510.c code depending on a non-released patch to th
AT32 portmux support.

Patch is against 2.6.24.3.atmel.3 kernel, the latest AVR32 kernel Atmel has
released, with the linux-2.6-asoc patches from when v2.6.24 was tagged also
applied.

[Fixed up minor checkpatch issues and updated for current kernels -- broonie]

Signed-off-by: Geoffrey Wossum <gwossum@acm.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] ASoC: Add WM8990 driver
Mark Brown [Thu, 5 Jun 2008 12:49:33 +0000 (13:49 +0100)]
[ALSA] ASoC: Add WM8990 driver

The WM8990 is a highly integrated ultra-low power hi-fi codec designed
for handsets rich in multimedia features such as mobile TV, digital
audio playback and gaming.

The bulk of this driver was written by Liam Girdwood with some
additional development and updates for new ASoC APIs by me.

Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] ASoC: Add WM8510 driver
Mark Brown [Thu, 5 Jun 2008 12:49:32 +0000 (13:49 +0100)]
[ALSA] ASoC: Add WM8510 driver

The WM8510 is a mono CODEC with speaker driver optimised for telephony
applications, featuring:
 - 16/20/24/32 bit audio at data rates between 8kHz and 48kHz
 - On-chip PLL
 - Dual microphone inputs

This driver was originally written by Liam Girdwood with updates from
Brett Saunders, Geoffrey Wossum and myself.

Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
Signed-off-by: Brett Saunders <breton.saunders@ntlworld.com>
Signed-off-by: Geoffrey Wossum <geoffrey@pager.net>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] maestro3: Fix hw volume on HP OmniBook
Ville Syrjälä [Tue, 3 Jun 2008 17:52:10 +0000 (20:52 +0300)]
[ALSA] maestro3: Fix hw volume on HP OmniBook

Make the hw volume buttons work correctly on some HP OmniBook laptops.
The original quirk was apparently applied a bit too early and it was
also lacking some critial register writes. This improved sequence was
discovered by trial and error (like the original sequence). Tested and
found working on OB500 and OB6000 laptops.

Signed-off-by: Ville Syrjala <syrjala@sci.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda - increase max_codecs of ICH to 4
Takashi Iwai [Wed, 4 Jun 2008 10:41:21 +0000 (12:41 +0200)]
[ALSA] hda - increase max_codecs of ICH to 4

It turned out that some ICH9-based boards use SD3 for the audio codec
where the current driver code doesn't probe.  Since we have a better
codec slot check now, it must be safe to increase this to 4.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda - Fix PLL gating control on Realtek codecs
Takashi Iwai [Wed, 4 Jun 2008 10:39:38 +0000 (12:39 +0200)]
[ALSA] hda - Fix PLL gating control on Realtek codecs

On some Realtek codecs, the analog PLL gating control bit must be set
off while the default value is 1.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda - support intel DG33 motherboards
Jiang zhe [Wed, 4 Jun 2008 10:11:07 +0000 (12:11 +0200)]
[ALSA] hda - support intel DG33 motherboards

These two motherboards's pin configuration are not covered by driver.
I wrote a new model to support them.

Signed-off-by: Jiang zhe <zhe.jiang@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years agoALSA: Release v1.0.17rc1
Jaroslav Kysela [Tue, 3 Jun 2008 07:06:20 +0000 (09:06 +0200)]
ALSA: Release v1.0.17rc1

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] emu10k1 - Fix inverted Analog/Digital mixer switch on Audigy2
Takashi Iwai [Mon, 2 Jun 2008 09:45:53 +0000 (11:45 +0200)]
[ALSA] emu10k1 - Fix inverted Analog/Digital mixer switch on Audigy2

On Audigy2 Platinum, the Analog/Digital mixer switch is inverted.
https://bugzilla.novell.com/show_bug.cgi?id=396204

The patch adds a simple workaround.

There might be another device requiring a similar fix, too (or fix for
audigy2 generically), but right now I fix only the known broken one.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] emu10k1 - simplify page allocation for synth
Takashi Iwai [Fri, 30 May 2008 07:49:41 +0000 (09:49 +0200)]
[ALSA] emu10k1 - simplify page allocation for synth

Simplify the page allocation of emu10k1 driver for emux synth support.
Since these pages aren't be necessarily coherent, we can avoid
expensive DMA-coherent routines.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] trivial clean up of sound/isa/sb/Makefile
Takashi Iwai [Fri, 30 May 2008 09:27:24 +0000 (11:27 +0200)]
[ALSA] trivial clean up of sound/isa/sb/Makefile

Remove unneeded sort in sound/isa/sb/Makefile.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years agosound: Clean up sound/oss/Kconfig
Takashi Iwai [Fri, 30 May 2008 09:25:03 +0000 (11:25 +0200)]
sound: Clean up sound/oss/Kconfig

Removed unnecessary dependencies, fix a wrong selection, and
make CONFIG_SOUND_OSS menuconfig to simplify.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] trident - clean up obsolete synth codes
Takashi Iwai [Fri, 30 May 2008 07:47:45 +0000 (09:47 +0200)]
[ALSA] trident - clean up obsolete synth codes

Clean up the unused synth codes in the memory handling of trident driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] Make ak4531 local to ens1370 driver
Takashi Iwai [Fri, 30 May 2008 07:22:22 +0000 (09:22 +0200)]
[ALSA] Make ak4531 local to ens1370 driver

The ak4531 module is used only by ens1370 driver (and unlikely that
any other will use it ever).  Let's make it local to ens1370.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] Clean up sound/pci/ac97/Makefile
Takashi Iwai [Thu, 29 May 2008 16:53:05 +0000 (18:53 +0200)]
[ALSA] Clean up sound/pci/ac97/Makefile

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] ASoC: Add UDA1380 driver
Philipp Zabel [Wed, 28 May 2008 16:58:06 +0000 (17:58 +0100)]
[ALSA] ASoC: Add UDA1380 driver

The UDA1380 codec is used by the HTC Magician and a number of Samsung
reference boards.

This driver has had a long out of tree history, having originally been
written by Giorgio Padrin and converted to ASoC by Richard Purdie.
Since conversion to ASoC most of the work on the driver has been done by
Philipp Zabel with some review and updates for new APIs by Liam Girdwood
and Mark Brown.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] ASoC: Add SOC_DOUBLE_S8_TLV control type
Mark Brown [Wed, 28 May 2008 16:58:05 +0000 (17:58 +0100)]
[ALSA] ASoC: Add SOC_DOUBLE_S8_TLV control type

The SOC_DOUBLE_S8_TLV control type was originally implemented in the
UDA1380 driver by Philipp Zabel and was moved into the core by me.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] Improve the slots option handling
Takashi Iwai [Tue, 27 May 2008 15:59:24 +0000 (17:59 +0200)]
[ALSA] Improve the slots option handling

Fix and improve the slots option handling.  The sound core tries to
find the slot with the given module name first and assign if it's
still available.  If all pre-given slots are unavailable, then try
to find another free slot.

Also, when a module name begins with '!', it means the negative match:
the slot will be given for any modules but that one.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda - Fix EAPD and COEF setups for realtek codecs
Kailang Yang [Tue, 27 May 2008 10:32:25 +0000 (12:32 +0200)]
[ALSA] hda - Fix EAPD and COEF setups for realtek codecs

Fixed EAPD and COEF setups for Realtek ALC662/663, 660-VD and 888 codecs.

Signed-off-by: Kailang Yang <kailang@realtek.com.tw>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda - show correct codec chip in PCM stream names
Kailang Yang [Tue, 27 May 2008 10:14:47 +0000 (12:14 +0200)]
[ALSA] hda - show correct codec chip in PCM stream names

Show more exact codec chip name in the PCM stream name strings.

Signed-off-by: Kailang Yang <kailang@realtek.com.tw>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda - Fix vref pincap check in alc882 auto-detection
Kailang Yang [Tue, 27 May 2008 10:10:25 +0000 (12:10 +0200)]
[ALSA] hda - Fix vref pincap check in alc882 auto-detection

Signed-off-by: Kailang Yang <kailang@realtek.com.tw>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda - Add ALC663 support
Kailang Yang [Tue, 27 May 2008 10:05:31 +0000 (12:05 +0200)]
[ALSA] hda - Add ALC663 support

Added the support of ALC663 codec, including specific models for
ASUS M51VA, ASUS G71V, ASUS H13 and ASUS G50V.

Signed-off-by: Kailang Yang <kailang@realtek.com.tw>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda - Add ICH9 controller support (8086:2911)
Kailang Yang [Tue, 27 May 2008 09:48:01 +0000 (11:48 +0200)]
[ALSA] hda - Add ICH9 controller support (8086:2911)

Added the missing PCI ID for ICH9 controller (8086:2911)

Signed-off-by: Kailang Yang <kailang@realtek.com.tw>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] hda - Add support of Teradici controller
Kailang Yang [Tue, 27 May 2008 09:44:55 +0000 (11:44 +0200)]
[ALSA] hda - Add support of Teradici controller

Add the new PCI ID 0x6549 0x1200 Teradici controller.

Signed-off-by: Kailang Yang <kailang@realtek.com.tw>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] Add EM-X270 ASoC driver
Mike Rapoport [Mon, 26 May 2008 09:59:16 +0000 (12:59 +0300)]
[ALSA] Add EM-X270 ASoC driver

This patch adds ASoC support for EM-X270 machine.

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] Replace CONFIG_SND_DEBUG_DETECT with CONFIG_SND_DEBUG_VERBOSE
Takashi Iwai [Tue, 20 May 2008 10:15:15 +0000 (12:15 +0200)]
[ALSA] Replace CONFIG_SND_DEBUG_DETECT with CONFIG_SND_DEBUG_VERBOSE

Replace CONFIG_SND_DEBUG_DETECT with CONFIG_SND_DEBUG_VERBOSE to
represent its meaning more better.  This config isn't provided only
for the detection but for more verbose debug prints in general.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] Fix AC97 kconfig items
Takashi Iwai [Fri, 23 May 2008 14:11:26 +0000 (16:11 +0200)]
[ALSA] Fix AC97 kconfig items

The kconfig items related with AC97-powersave must be outside the
CONFIG_SND_PCI range.  And it'd be better together with CONFIG_SND_AC97.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years agosound: Convert to menuconfig
Takashi Iwai [Fri, 23 May 2008 14:10:37 +0000 (16:10 +0200)]
sound: Convert to menuconfig

Convert menu in sound Kconfig files to menuconfig and if.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years agosound: sound/oss/: remove CVS keywords
Adrian Bunk [Mon, 19 May 2008 21:59:35 +0000 (00:59 +0300)]
sound: sound/oss/: remove CVS keywords

This patch removes CVS keywords that weren't updated for a long time
from comments.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] remove CVS keywords
Adrian Bunk [Mon, 19 May 2008 22:06:55 +0000 (01:06 +0300)]
[ALSA] remove CVS keywords

This patch removes CVS keywords that weren't updated for a long time
from comments.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] usb-audio - Support for Roland SonicCell sound module
Chris Mennie [Mon, 19 May 2008 14:21:33 +0000 (16:21 +0200)]
[ALSA] usb-audio - Support for Roland SonicCell sound module

Added entry into usbquirks.h to recognize Roland SonicCell sound module by
mostly duplicating the entry for the Roland SH-201. USB MIDI works just fine,
though the USB audio is a little unreliable (but still works well enough).

Signed-off-by: Chris Mennie <camennie@alumni.uwaterloo.ca>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 years ago[ALSA] ice1724: fix MIDI
Clemens Ladisch [Tue, 20 May 2008 12:22:44 +0000 (14:22 +0200)]
[ALSA] ice1724: fix MIDI

The VT1724 MIDI port is not MPU-401 compatible; remove the hacks that
try to make the MPU-401 library work with it, and just use some simple
device-specific code.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Tested-by: Pavel Hofman <pavel.hofman@insite.cz>
16 years ago[ALSA] soc - Fix s3c24xx-i2s LR sync while timer ticks are disabled
Werner Almesberger [Mon, 14 Apr 2008 12:26:44 +0000 (14:26 +0200)]
[ALSA] soc - Fix s3c24xx-i2s LR sync while timer ticks are disabled

When timer ticks are disabled when calling
sound/soc/s3c24xx/s3c24xx-i2s.c:s3c24xx_snd_lrsync
and the LR signal never happens, we loop forever.
This has been observed in the following call chain:
snd_pcm_common_ioctl1 -> snd_pcm_action_lock_irq ->
snd_pcm_action_single
 -> snd_pcm_do_resume -> soc_pcm_trigger -> s3c24xx_i2s_trigger

The patch below changes the timeout mechanism to use udelay, which
doesn't need timer ticks.

Signed-off-by: Werner Almesberger <werner@openmoko.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] soc - Convert Wolfson codec drivers to use bulk DAPM registration
Mark Brown [Tue, 13 May 2008 12:54:43 +0000 (14:54 +0200)]
[ALSA] soc - Convert Wolfson codec drivers to use bulk DAPM registration

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] ASoC: core checkpatch cleanups
Mark Brown [Mon, 19 May 2008 10:32:25 +0000 (12:32 +0200)]
[ALSA] ASoC: core checkpatch cleanups

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] ASoC: Clarify API for bias configuration
Mark Brown [Mon, 19 May 2008 10:31:28 +0000 (12:31 +0200)]
[ALSA] ASoC: Clarify API for bias configuration

Currently the ASoC core configures the bias levels in the system using
a callback on codecs and machines called 'dapm_event', passing it PCI
style power levels as SNDRV_CTL_POWER_ constants. This is more obscure
than it needs to be and has caused confusion to driver authors,
especially given that DAPM is also performing power management.

Address this by renaming the callback function to 'set_bias_level' and
using constants explicitly representing the off, standby, pre-on and on
states which DAPM transitions through.

Also unexport the API for setting bias level: there are currently no
in-tree users of this API other than the core itself and it is likely
that the core would need to be extended to cater for any users.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] ASoC: Make CPU and codec DAI operations have same type
Mark Brown [Mon, 19 May 2008 10:31:55 +0000 (12:31 +0200)]
[ALSA] ASoC: Make CPU and codec DAI operations have same type

The CPU and codec DAI operations differ only in the presence of the
digital mute operation for the codec so they may as well be the same
type.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] ASoC: Remove in-code changelogs
Mark Brown [Mon, 19 May 2008 10:30:58 +0000 (12:30 +0200)]
[ALSA] ASoC: Remove in-code changelogs

The overwhelming majority just say 'initial version' anyway.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda - Fix DMA position inaccuracy
Takashi Iwai [Fri, 16 May 2008 10:34:47 +0000 (12:34 +0200)]
[ALSA] hda - Fix DMA position inaccuracy

Many HD-audio controllers seem inaccurate about the IRQ timing of
PCM period updates.  This has caused problems on audio quality; e.g.
JACK doesn't work with two periods.

This patch fixes the problem by checking the current DMA position
at IRQ handler and delays the period-update via a workq if it's
inaccurate.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] PCI168 snd-azt3328 Linux driver: another huge update
Andreas Mohr [Fri, 16 May 2008 10:18:29 +0000 (12:18 +0200)]
[ALSA] PCI168 snd-azt3328 Linux driver: another huge update

- figured out 'Digital(ly) Enhanced Game Port' functionality,
  implemented support for it (eliminating gameport polling overhead)
- removed optional joystick activation, gameport now enabled unconditionally,
  since we now support it via the PCI I/O space, not via conflict-prone
  legacy I/O (which I was thus able to DISABLE now)!
- fix playback bug (a muted wave output would get unmuted upon start of
  playback, of course this is not what we want, thus remember mute state)
- implement partial power management: when idle, lower clock rate and disable
  codec (reduced noise!), and disable gameport circuit when unused
- instantiate OPL3 timer, too
- much better implementation of snd_azf3328_mixer_write_volume_gradually()
- slightly optimized interrupt handling
- lots of cleanup

This time, I also found a way to verify proper OPL3 operation
via MIDI file playback (emulation via synth hardware).

Signed-off-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] ASoC: Convert N810 machine driver to use gpiolib
Jarkko Nikula [Thu, 15 May 2008 09:01:36 +0000 (11:01 +0200)]
[ALSA] ASoC: Convert N810 machine driver to use gpiolib

Use gpiolib since it is now available for OMAPs. Change also references to
HW version RX44 to product name N810.

Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] soc - n810 - Update for bulk DAPM registration APIs
Mark Brown [Tue, 13 May 2008 12:58:57 +0000 (14:58 +0200)]
[ALSA] soc - n810 - Update for bulk DAPM registration APIs

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] soc - davinci-evm - Update for bulk DAPM registration APIs
Mark Brown [Tue, 13 May 2008 12:58:30 +0000 (14:58 +0200)]
[ALSA] soc - davinci-evm - Update for bulk DAPM registration APIs

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] soc - neo1973_wm8753 - Convert to bulk DAPM registration APIs
Mark Brown [Tue, 13 May 2008 12:58:03 +0000 (14:58 +0200)]
[ALSA] soc - neo1973_wm8753 - Convert to bulk DAPM registration APIs

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Graeme Gregory <graeme@openmoko.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] soc - eti_b1_wm8731 - Convert to use bulk DAPM control registration
Mark Brown [Tue, 13 May 2008 12:57:37 +0000 (14:57 +0200)]
[ALSA] soc - eti_b1_wm8731 - Convert to use bulk DAPM control registration

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Frank Mandarino <fmandarino@endrelia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] soc - Zaurus - Convert to bulk DAPM registration APIs
Mark Brown [Tue, 13 May 2008 12:55:48 +0000 (14:55 +0200)]
[ALSA] soc - Zaurus - Convert to bulk DAPM registration APIs

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] soc - tlv320aic3x - Convert to use bulk registration APIs
Mark Brown [Tue, 13 May 2008 12:55:22 +0000 (14:55 +0200)]
[ALSA] soc - tlv320aic3x - Convert to use bulk registration APIs

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] soc - DAPM - Bulk route registration
Mark Brown [Tue, 13 May 2008 12:52:19 +0000 (14:52 +0200)]
[ALSA] soc - DAPM - Bulk route registration

ASoC codecs and machine drivers that use DAPM routes all cut'n'paste a
loop iterating over a null terminated array of routes.  Factor out this
into a bulk registration function, improving the error reporting for
most users, and deprecate the old API to help out of tree users pick up
the changes.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Graeme Gregory <graeme@openmoko.org>
Cc: Frank Mandarino <fmandarino@endrelia.com>
Cc: Jarkko Nikula <jarkko.nikula@nokia.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] soc - DAPM - Add bulk control registration
Mark Brown [Tue, 13 May 2008 12:51:19 +0000 (14:51 +0200)]
[ALSA] soc - DAPM - Add bulk control registration

Most SoC drivers cut'n'paste a loop iterating over an array to register
their DAPM controls.  Provide a function they can call instead.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Graeme Gregory <graeme@openmoko.org>
Cc: Frank Mandarino <fmandarino@endrelia.com>
Cc: Jarkko Nikula <jarkko.nikula@nokia.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] virtuoso: restrict period time to less than 10 s
Clemens Ladisch [Tue, 13 May 2008 07:26:01 +0000 (09:26 +0200)]
[ALSA] virtuoso: restrict period time to less than 10 s

Add a constraint for the period time so that there are less than ten
seconds between interrupts so that ALSA does not assume that the device
is dead.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: add symbols for buffer/period size constraints
Clemens Ladisch [Tue, 13 May 2008 07:25:39 +0000 (09:25 +0200)]
[ALSA] oxygen: add symbols for buffer/period size constraints

Introduce symbols for the buffer/period size constraints so that their
limits and relationships become clearer.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: add PM support
Clemens Ladisch [Tue, 13 May 2008 07:24:39 +0000 (09:24 +0200)]
[ALSA] oxygen: add PM support

Add suspend/resume support.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] virtuoso: add xonar_enable_output()
Clemens Ladisch [Tue, 13 May 2008 07:23:02 +0000 (09:23 +0200)]
[ALSA] virtuoso: add xonar_enable_output()

Move the setting of the output enable GPIO bit to a separate function.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: separate out hardware initialization code
Clemens Ladisch [Tue, 13 May 2008 07:22:43 +0000 (09:22 +0200)]
[ALSA] oxygen: separate out hardware initialization code

Create separate functions for the code that initializes the hardware, as
opposed to initializing internal driver state, so that they can be
reused for resume support.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: simplify DAC volume initialization
Clemens Ladisch [Tue, 13 May 2008 07:21:48 +0000 (09:21 +0200)]
[ALSA] oxygen: simplify DAC volume initialization

When initializing the DAC volume registers, we can just use the generic
volume update functions instead of setting the registers manually.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: save register writes
Clemens Ladisch [Tue, 13 May 2008 07:20:51 +0000 (09:20 +0200)]
[ALSA] oxygen: save register writes

Save the written values of all CMI8788 and AC97 registers and of some of
the DAC/ADC registers so that it is possible to restore the register
state later.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: add symbol for I/O space size
Clemens Ladisch [Tue, 13 May 2008 07:19:53 +0000 (09:19 +0200)]
[ALSA] oxygen: add symbol for I/O space size

Remove another magic number - add a symbol for the size of the PCI I/O
range.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: fix version in MODULE_LICENSE
Clemens Ladisch [Tue, 13 May 2008 07:18:27 +0000 (09:18 +0200)]
[ALSA] oxygen: fix version in MODULE_LICENSE

Adjust the MODULE_LICENSE strings to properly reflect the actual license.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] Remove unneeded ugly hack for i386 in memalloc.c
Takashi Iwai [Fri, 9 May 2008 10:45:56 +0000 (12:45 +0200)]
[ALSA] Remove unneeded ugly hack for i386 in memalloc.c

The hack for dma_alloc_coherent() is no longer needed on 2.6.26 since
the base code was improved.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] snd_usb_caiaq: add support for 'Session I/O' interface
Daniel Mack [Thu, 8 May 2008 13:42:15 +0000 (15:42 +0200)]
[ALSA] snd_usb_caiaq: add support for 'Session I/O' interface

This patch adds suport for Native Instruments new
'Guitar Rig Session I/O' audio hardware.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] i2c: cs8427.c use put_unaligned helper
Harvey Harrison [Thu, 8 May 2008 11:01:32 +0000 (13:01 +0200)]
[ALSA] i2c: cs8427.c use put_unaligned helper

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] ac97 - Add virtual master control to VT1616/VT1617A codec.
Daniel Jacobowitz [Wed, 7 May 2008 10:05:10 +0000 (12:05 +0200)]
[ALSA] ac97 - Add virtual master control to VT1616/VT1617A codec.

Enable VMASTER for VT1616 / VT1617A codec.

Signed-off-by: Daniel Jacobowitz <dan@codesourcery.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>