sfrench/cifs-2.6.git
16 years ago[ALSA] pcm_native: fix sparse warning about shadowing 'state' symbol
Marcin Ślusarz [Fri, 14 Dec 2007 11:50:16 +0000 (12:50 +0100)]
[ALSA] pcm_native: fix sparse warning about shadowing 'state' symbol

pcm_native: fix sparse warning about shadowing 'state' symbol

Signed-off-by: Marcin Ślusarz <marcin.slusarz@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] sb16 - Suppress compile warning
Takashi Iwai [Fri, 14 Dec 2007 11:18:52 +0000 (12:18 +0100)]
[ALSA] sb16 - Suppress compile warning

sound/isa/sb/sb16_csp.c: In function ‘snd_sb_csp_new’:
sound/isa/sb/sb16_csp.c:121: warning: ‘version’ may be used uninitialized in this function

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] copy_ctl_value_from_user() warning fix
Andrew Morton [Fri, 14 Dec 2007 11:13:12 +0000 (12:13 +0100)]
[ALSA] copy_ctl_value_from_user() warning fix

sound/core/control_compat.c: In function 'copy_ctl_value_from_user':
sound/core/control_compat.c:222: warning: 'count' may be used uninitialized in this function

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] Fix old tstamp ioctl for compat_ioctl
Takashi Iwai [Fri, 14 Dec 2007 11:10:26 +0000 (12:10 +0100)]
[ALSA] Fix old tstamp ioctl for compat_ioctl

Replaced the old SNDRV_PCM_IOCTL_TSTAMP with the new one in
PCM compat_ioctl.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda: Added more 92HD71 codecs
Matthew Ranostay [Fri, 14 Dec 2007 11:08:04 +0000 (12:08 +0100)]
[ALSA] hda: Added more 92HD71 codecs

Added more codecs to the 92HD71 family, as well as support for several
that don't have an analog mixer.

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 ago[ALSA] hda: 92HD73 DMIC Amps
Matthew Ranostay [Fri, 14 Dec 2007 11:07:31 +0000 (12:07 +0100)]
[ALSA] hda: 92HD73 DMIC Amps

Changed hardware gain mixers for the digital mic's from HDA_OUTPUT to
HDA_INPUT.

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 ago[ALSA] hda-intel: Enable Analog CD Input from internal ATAPI connector on Asus M2N-SLI
Johannes Stezenbach [Thu, 13 Dec 2007 16:51:00 +0000 (17:51 +0100)]
[ALSA] hda-intel: Enable Analog CD Input from internal ATAPI connector on Asus M2N-SLI

Enable Analog CD Input from internal ATAPI connector on Asus M2N-SLI.

Signed-off-by: Johannes Stezenbach <js@sig21.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda: Added STAC92HD73 support
Matthew Ranostay [Thu, 13 Dec 2007 16:47:21 +0000 (17:47 +0100)]
[ALSA] hda: Added STAC92HD73 support

Added support for new STAC92HD73 family of codecs. Additionally added
features for multiple analog loopbacks, and multiple dmux mixers.
Regression testing for the analog loopback changes for STAC9205 and
STAC9274D completed with any issues, as well for the dmux changes.

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 ago[ALSA] hda-codec - Initial support of the Mitac 8252D (based on ALC883)
Andy Shevchenko [Thu, 13 Dec 2007 16:32:26 +0000 (17:32 +0100)]
[ALSA] hda-codec - Initial support of the Mitac 8252D (based on ALC883)

The attached patch adds initial support of the Mitac 8252D
(http://www.mitac-mtc.com.tw/English/products/8252Dspec.htm).
Working:
 - Front speakers (volume + mute)
 - Center/LFE speakers (volume + mute)
 - HP out (with Front Volume)
 - HP individual mute switch
 - HP Jack sense
 - Front Mic and its volume
Not tested:
 - external mic and its volume
Not working while now:
 - Mic Jack sense
Questionable:
 - is Mic have Jack sense?
 - one or two Mic volume controls?
 - CD/Line-in: presense in the mixer

Signed-off-by: Andy Shevchenko <andy@smile.org.ua>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Add ALC889/ALC267/ALC269 support
Kailang Yang [Thu, 13 Dec 2007 15:52:54 +0000 (16:52 +0100)]
[ALSA] hda-codec - Add ALC889/ALC267/ALC269 support

Added the support of new Realtek codecs:
1. New ALC889 Support
2. New ALC267 Support
3. New ALC269 Support

Signed-off-by: Kailang Yang <kailang@realtek.com.tw>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Add support for VIA VT1708B HD audio codec
Josepch Chan [Thu, 13 Dec 2007 15:40:40 +0000 (16:40 +0100)]
[ALSA] hda-codec - Add  support for VIA VT1708B HD audio codec

This patch adds support for VIA new HD audio codec, VT1708B.

Signed-off-by: Josepch Chan <josephchan@via.com.tw>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] Update descriptions of isapnp-specific module options
Rene Herman [Thu, 13 Dec 2007 15:29:33 +0000 (16:29 +0100)]
[ALSA] Update descriptions of isapnp-specific module options

Signed-off-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] alsa: usx2y nopage
Nick Piggin [Thu, 13 Dec 2007 15:16:40 +0000 (16:16 +0100)]
[ALSA] alsa: usx2y nopage

Convert alsa usx2y driver from nopage to fault.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] alsa: nopage
Nick Piggin [Thu, 13 Dec 2007 15:15:00 +0000 (16:15 +0100)]
[ALSA] alsa: nopage

Convert ALSA from nopage to fault.
Switch from OOM to SIGBUS if the resource is not available.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Device ID for MSI L745
Takashi Iwai [Thu, 13 Dec 2007 12:13:31 +0000 (13:13 +0100)]
[ALSA] hda-codec - Device ID for MSI L745

Added the model targa-2ch-dig for MSL L745 (ALSA bug#3641).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] PCM - fixed SNDRV_PCM_FORMAT_U24_BE silence constant
Jaroslav Kysela [Thu, 13 Dec 2007 09:36:03 +0000 (10:36 +0100)]
[ALSA] PCM - fixed SNDRV_PCM_FORMAT_U24_BE silence constant

Reported by Timur Tabi <timur@freescale.com> .

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] Use posix clock monotonic for PCM and timer timestamps
Jaroslav Kysela [Thu, 13 Dec 2007 09:19:42 +0000 (10:19 +0100)]
[ALSA] Use posix clock monotonic for PCM and timer timestamps

We need an accurate and continuous (monotonic) time sources to do
accurate synchronization among more timing sources. This patch allows
to enable monotonic timestamps for ALSA PCM devices and enables monotonic
timestamps for ALSA timer devices.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] cmipci: document 'Modem' control version check
Clemens Ladisch [Tue, 11 Dec 2007 07:55:16 +0000 (08:55 +0100)]
[ALSA] cmipci: document 'Modem' control version check

Add a comment that explains why the 'Modem' control doesn't work with
newer chips.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] cmipci: disable 'Modem' control on version 39 or newer chips
Clemens Ladisch [Mon, 10 Dec 2007 11:28:52 +0000 (12:28 +0100)]
[ALSA] cmipci: disable 'Modem' control on version 39 or newer chips

On version 39 or newer chips, we better remove the 'Modem' control
because this register bit now mutes the front channels of the
multichannel stream.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] echoaudio - convert from semaphore to mutex
Takashi Iwai [Mon, 3 Dec 2007 16:08:40 +0000 (17:08 +0100)]
[ALSA] echoaudio - convert from semaphore to mutex

Converted from semaphore to mutex.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Fix typo in the ALC883 initial code
Andy Shevchenko [Mon, 3 Dec 2007 15:50:58 +0000 (16:50 +0100)]
[ALSA] hda-codec - Fix typo in the ALC883 initial code

The attached patch should fix typo in auto initialization verbs for ALC883
codec.

Signed-off-by: Andy Shevchenko <andy@smile.org.ua>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] switching rate in STAC9460 codec of Prodigy192
Pavel Hofman [Mon, 3 Dec 2007 11:44:28 +0000 (12:44 +0100)]
[ALSA] switching rate in STAC9460 codec of Prodigy192

* support for switching rate in STAC9460 - using set_rate_val of the akm
infrastructure
* listing all STAC9460 registers in proc
* disabling mpu401 device for Prodigy192 - otherwise the currently
  flawed mpu401 code hangs kernel when opening the midi device
* removing old unused commented-out code

Signed-off-by: Pavel Hofman <dustin@seznam.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] I2C fix for ice1724
Pavel Hofman [Mon, 3 Dec 2007 11:37:17 +0000 (12:37 +0100)]
[ALSA] I2C fix for ice1724

adding i2c busy wait before sending device address to prevent reading
bogus data.

Signed-off-by: Pavel Hofman <dustin@seznam.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] sound/isa: kill pnp_resource_change
Rene Herman [Fri, 30 Nov 2007 16:59:25 +0000 (17:59 +0100)]
[ALSA] sound/isa: kill pnp_resource_change

This removes the pnp_resource_change use from the ALSA ISAPnP drivers. In
2.4 these were useful in providing an easy path to setting the resources,
but in 2.6 they retain function as a layering violation only.
This makes for a nice cleanup (-550 lines) of ALSA but moreover, ALSA is the
only remaining user of pnp_init_resource_table(), pnp_resource_change() and
pnp_manual_config_dev() (and, in fact, of 'struct pnp_resource_table') in
the tree outide of drivers/pnp itself meaning it makes for more cleanup
potential inside the PnP layer.
Thomas Renninger acked their removal from that side, you did from the ALSA
side (CC list just copied from that thread).
Against current alsa-kernel HG. Many more potential cleanups in there, but
this _only_ removes the pnp_resource_change code. Compile tested against
current alsa-kernel HG and compile- and use-tested against 2.6.23.x (few
offsets).
Cc: Thomas Renninger <trenn@suse.de>
Signed-off-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] sound/core/memalloc.c: Add missing pci_dev_put
Julia Lawall [Wed, 28 Nov 2007 10:58:56 +0000 (11:58 +0100)]
[ALSA] sound/core/memalloc.c: Add missing pci_dev_put

There should be a pci_dev_put when breaking out of a loop that iterates
over calls to pci_get_device and similar functions.
In this case, the return under the initial if needs a pci_dev_put in the
same way that the return under the subsequent for loop has a pci_dev_put.
This was fixed using the following semantic patch.
// <smpl>
@@
type T;
identifier d;
expression e;
@@
T *d;
...
while ((d = \(pci_get_device\|pci_get_device_reverse\|pci_get_subsys\|pci_get_class\)(..., d)) != NULL)
  {... when != pci_dev_put(d)
       when != e = d
(
    return d;
|
+  pci_dev_put(d);
?  return ...;
)
...}
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] ice1712 - Fix word clock status control on Delta 1010LT
Takashi Iwai [Tue, 27 Nov 2007 14:27:17 +0000 (15:27 +0100)]
[ALSA] ice1712 - Fix word clock status control on Delta 1010LT

The 'Word Clock Status' control on Delta 1010LT checks the CS8427
error register too strictly and almost always returns 1 (unlocked).
It should check only the lock status bit.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] usb-caiaq - add support for Kore controller 2
Daniel Mack [Mon, 26 Nov 2007 08:00:56 +0000 (09:00 +0100)]
[ALSA] usb-caiaq - add support for Kore controller 2

Added support for Native Instrument's Kore controller 2. This device has
no audio but MIDI, input devices and ALSA controllers only.

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] soc/wm8731: Fix stereo mixer controls
Ville Syrjala [Mon, 26 Nov 2007 07:58:24 +0000 (08:58 +0100)]
[ALSA] soc/wm8731: Fix stereo mixer controls

Disable the simultaneous load feature for the line in and headphone
out volume registers. This allows left and right volume levels to
be controlled separately.

Signed-off-by: Ville Syrjala <syrjala@sci.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] drivers - Add missing snd_card_set_dev()
Takashi Iwai [Mon, 26 Nov 2007 07:58:48 +0000 (08:58 +0100)]
[ALSA] drivers - Add missing snd_card_set_dev()

Added the missing call of snd_card_set_dev() in drivers/*

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] sound/isa: Add missing 'space'
Joe Perches [Mon, 26 Nov 2007 07:44:15 +0000 (08:44 +0100)]
[ALSA] sound/isa: Add missing 'space'

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] emu10k1x - Add missing snd_card_set_dev call
Takashi Iwai [Mon, 26 Nov 2007 07:45:43 +0000 (08:45 +0100)]
[ALSA] emu10k1x - Add missing snd_card_set_dev call

Added the missing snd_card_set_dev() call.  This will fix the incomplete
sysfs entry for this card.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] aoa - fix compile warning
Takashi Iwai [Fri, 23 Nov 2007 14:41:44 +0000 (15:41 +0100)]
[ALSA] aoa - fix compile warning

Set a proper error code in the error path of i2sbus_attach_codec().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] add number of periods constraint to snd-aoa
Heikki Lindholm [Fri, 23 Nov 2007 14:37:48 +0000 (15:37 +0100)]
[ALSA] add number of periods constraint to snd-aoa

The aoa driver is not specifying constraints on number of periods, and, it
seems, it might end with a non-integer number, which it cannot deal with.
Fix by adding a proper constraint.

Signed-off-by: Heikki Lindholm <holindho@cs.helsinki.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] Fix PCM MMAP time-stamp mode
Takashi Iwai [Fri, 23 Nov 2007 12:14:23 +0000 (13:14 +0100)]
[ALSA] Fix PCM MMAP time-stamp mode

When MMAP time-stamp mode is given, it's supposed to update the time-stamp
only at period boundary.  However, it currently updates at each status call
so this is just useless.  The patch fixes this misbehavior.
Also it fixes the wrong check of tstamp_mode (don't use bit-and for enum).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] caiaq - remove ifdef
Takashi Iwai [Thu, 22 Nov 2007 10:51:54 +0000 (11:51 +0100)]
[ALSA] caiaq - remove ifdef

Remove ifdef and fix Makefile for conditional builds.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] caiaq - add control API and more input features
Daniel Mack [Thu, 22 Nov 2007 10:40:04 +0000 (11:40 +0100)]
[ALSA] caiaq - add control API and more input features

 - added support for all input controllers on Native Instrument's 'Kore
   controller'.
 - added ALSA controls to switch LEDs on 'RigKontrol 2', 'RigKontrol3',
   'Audio Kontrol 1' and 'Kore controller'.
 - added ALSA controls to switch input mode, software lock and ground
   lift features on 'Audio 8 DJ'.

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] caiaq - input device support must depend on CONFIG_INPUT
Dmitry Torokhov [Wed, 21 Nov 2007 15:47:03 +0000 (16:47 +0100)]
[ALSA] caiaq - input device support must depend on CONFIG_INPUT

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] caiaq - misc input handling fixes
Dmitry Torokhov [Wed, 21 Nov 2007 15:45:23 +0000 (16:45 +0100)]
[ALSA] caiaq - misc input handling fixes

 - link input device with its parent so that it placed in proper spot
   in sysfs hierarchy
 - drivers that allow changing their keymaps should use private copy
   of the keymap so that one instance of a device does not affect
   another instance
 - it is preferred for drivers to properly set up input_dev->phys to
   help userspace locate devices
 - drivers should use usb_to_input_id(), or perform endianess conversion,
   themselves, otherwise ID is not correct on big-endian boxes
 - whitespace and formatting cleanup
Acked-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] caiaq - Fix indent in Kconfig
Takashi Iwai [Tue, 20 Nov 2007 17:32:08 +0000 (18:32 +0100)]
[ALSA] caiaq - Fix indent in Kconfig

Fix indent of caiaq in Kconfig to the same level as others.
Just a tidy up.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] dbri - Fix broken change for value range checks
Takashi Iwai [Tue, 20 Nov 2007 17:31:22 +0000 (18:31 +0100)]
[ALSA] dbri - Fix broken change for value range checks

The last patch for value range checks included a broken merge result.
Now fixed properly.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] powermac - Fix typos
Kamalesh Babulal [Tue, 20 Nov 2007 14:12:33 +0000 (15:12 +0100)]
[ALSA] powermac - Fix typos

The kernel build fails, with following error
  CC      sound/ppc/tumbler.o
sound/ppc/tumbler.c: In function ‘snapper_get_capture_source’:
sound/ppc/tumbler.c:812: error: ‘union <anonymous>’ has no member named ‘value’
sound/ppc/tumbler.c: In function ‘snapper_put_capture_source’:
sound/ppc/tumbler.c:824: error: ‘union <anonymous>’ has no member named ‘enuemerated’
make[2]: *** [sound/ppc/tumbler.o] Error 1
make[1]: *** [sound/ppc] Error 2
make: *** [sound] Error 2

Signed-off-by: Kamalesh Babulal <kamalesh@linx.vnet.ibm.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Revert volume knob controls in STAC codecs
Takashi Iwai [Mon, 19 Nov 2007 10:56:26 +0000 (11:56 +0100)]
[ALSA] hda-codec - Revert volume knob controls in STAC codecs

Volume knob controls with STAC codecs seem to cause problems with some
devices.  Volumes change very slowly or silent suddenly.  It's likely
due to conflict between the software and the hardware volume knob
setup.
Since we'll have a virtual master control in future, it's safer to
remove this control completely right now.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-intel - Show more volume-knob attributes
Takashi Iwai [Fri, 16 Nov 2007 16:52:39 +0000 (17:52 +0100)]
[ALSA] hda-intel - Show more volume-knob attributes

Show more attributs of volume-knob widgets.
Also don't put empty lines when no connection list is found.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] snd hda suspend latency: shorten codec read
Ingo Molnar [Fri, 16 Nov 2007 14:20:28 +0000 (15:20 +0100)]
[ALSA] snd hda suspend latency: shorten codec read

not sleeping for every codec read/write but doing a short udelay and
a conditional reschedule has cut suspend+resume latency by about 1
second on my T60.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] HDA-Intel - Add support for RV6xx HDMI audio
Wolke Liu [Fri, 16 Nov 2007 10:06:30 +0000 (11:06 +0100)]
[ALSA] HDA-Intel - Add support for RV6xx HDMI audio

This patch is to add R6xx HDMI audio support. Meanwhile, the device ID
in the previous patch is changed.
I have checked the patch from Herton Ronaldo Krzesinski, it's right as
our spec said. :)

Signed-off-by: Wolke Liu <Wolke.Liu@amd.com>
Signed-off-by: Andrea Zhang <Andrea.Zhang@amd.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] at73c213 - Use common callback
Takashi Iwai [Thu, 15 Nov 2007 15:18:14 +0000 (16:18 +0100)]
[ALSA] at73c213 - Use common callback

Use snd_ctl_boolean_mono_info callback to simplify.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] Check value range in ctl callbacks
Takashi Iwai [Thu, 15 Nov 2007 15:17:24 +0000 (16:17 +0100)]
[ALSA] Check value range in ctl callbacks

Check the value ranges in ctl put callbacks properly (in the rest drivers).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] aoa - Check value range in ctl callbacks
Takashi Iwai [Thu, 15 Nov 2007 15:16:32 +0000 (16:16 +0100)]
[ALSA] aoa - Check value range in ctl callbacks

Check the value ranges in ctl put callbacks properly in aoa drivers.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] ak4xxx - Check value ranges in ctl callbacks
Takashi Iwai [Thu, 15 Nov 2007 15:15:29 +0000 (16:15 +0100)]
[ALSA] ak4xxx - Check value ranges in ctl callbacks

Check the value ranges in ctl put callbacks properly in ak4xxx-adda driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] powermac - Check value range in ctl callbacks
Takashi Iwai [Thu, 15 Nov 2007 15:14:12 +0000 (16:14 +0100)]
[ALSA] powermac - Check value range in ctl callbacks

Check the value ranges in ctl put callbacks properly in snd-powermac
driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] vxpocket - Check value range in ctl callbacks
Takashi Iwai [Thu, 15 Nov 2007 15:13:32 +0000 (16:13 +0100)]
[ALSA] vxpocket - Check value range in ctl callbacks

Check the value ranges in ctl put callbacks in vxpocket driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] ice1724 - Clean up ctl callbacks in se.c
Takashi Iwai [Thu, 15 Nov 2007 15:05:26 +0000 (16:05 +0100)]
[ALSA] ice1724 - Clean up ctl callbacks in se.c

Clean up ctl callbacks of SE-200PCI driver.  Also make sure to check
the value ranges.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] pci - check value range in ctl callbacks
Takashi Iwai [Thu, 15 Nov 2007 14:58:13 +0000 (15:58 +0100)]
[ALSA] pci - check value range in ctl callbacks

Check the value ranges in ctl put callbacks properly in the rest of
PCI drivers.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] mixart - Check value range in ctl callbacks
Takashi Iwai [Thu, 15 Nov 2007 14:56:47 +0000 (15:56 +0100)]
[ALSA] mixart - Check value range in ctl callbacks

Check the value ranges in ctl put callbacks properly.
Also fixed some coding style issues around that.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] ice1724 - Check value ranges in ctl callbacks
Takashi Iwai [Thu, 15 Nov 2007 14:56:07 +0000 (15:56 +0100)]
[ALSA] ice1724 - Check value ranges in ctl callbacks

Check the value ranges in ctl put callbacks properly.
Also fixed the wrong access type to enum elements in aureon.c.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Check value range in ctl callbacks
Takashi Iwai [Thu, 15 Nov 2007 14:54:38 +0000 (15:54 +0100)]
[ALSA] hda-codec - Check value range in ctl callbacks

Check the value ranges in ctl put callbacks properly so that
invalid values won't be stored or written to registers.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] emu10k1 - Check value ranges in ctl callbacks
Takashi Iwai [Thu, 15 Nov 2007 12:16:02 +0000 (13:16 +0100)]
[ALSA] emu10k1 - Check value ranges in ctl callbacks

Check value ranges in ctl callbacks properly.  This fixes the unexpected
crash due to wrong value assignment.
Also, remove invalid comments in the last patch.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] ASoC TLV320AIC3X codec driver
Vladimir Barinov [Wed, 14 Nov 2007 16:07:17 +0000 (17:07 +0100)]
[ALSA] ASoC TLV320AIC3X codec driver

This patch adds ALSA SoC support for TI TLV320AIC3X audio codecs.
The features that are supported:
     o Capture/Playback/Bypass.
     o 16/20/24/32 bit audio.
     o 8k - 96k sample rates.
     o codec master only mode
     o DAPM.

Signed-off-by: Vladimir Barinov <vbarinov@ru.mvista.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] sound/pci: Drop unnecessary continue
Julia Lawall [Wed, 14 Nov 2007 13:30:43 +0000 (14:30 +0100)]
[ALSA] sound/pci: Drop unnecessary continue

Continue is not needed at the bottom of a loop.
The semantic patch implementing this change is as follows:
@@
@@
for (...;...;...) {
   ...
   if (...) {
     ...
-   continue;
   }
}

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Add model=hp-tc-t5735 for ALC262
Takashi Iwai [Wed, 14 Nov 2007 11:26:44 +0000 (12:26 +0100)]
[ALSA] hda-codec - Add model=hp-tc-t5735 for ALC262

Added the missing model string for the new support of HP TC T5735.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Add support of HP Thin Client T5735
Kailang Yang [Wed, 14 Nov 2007 11:06:21 +0000 (12:06 +0100)]
[ALSA] hda-codec - Add support of HP Thin Client T5735

Added the support of HP Thin Client T5735 [0x103c 0x302f] with ALC262 codec.

Signed-off-by: Kailang Yang <kailang@realtek.com.tw>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] emu10k1: Add mixer controls parameter checking.
James Courtier-Dutton [Mon, 12 Nov 2007 14:55:19 +0000 (14:55 +0000)]
[ALSA] emu10k1: Add mixer controls parameter checking.

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Avoid wrong speaker-auto mute via mic jack
Jiang Zhe [Mon, 12 Nov 2007 12:05:16 +0000 (13:05 +0100)]
[ALSA] hda-codec - Avoid wrong speaker-auto mute via mic jack

When a mic jack is set up as the multiple I/O, it may issue the automute
function wrongly.  This patch fixes the wrong automute detection.

Signed-off-by: Jiang Zhe <zhe.jiang@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Add workaround for multiple HPs
Jiang Zhe [Mon, 12 Nov 2007 11:57:03 +0000 (12:57 +0100)]
[ALSA] hda-codec - Add workaround for multiple HPs

Dell laptops have multiple HP jacks that can be used for multi-channel
outputs.  The current auto pincfg handles the speaker as the primary
output and thus cannot handle the multi-channel configuration for such
cases.  This patch adds a workaround to fix this issue by swapping the
HP and speaker during multi-channel setup routines.

Signed-off-by: Jiang Zhe <zhe.jiang@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Update dell-m82 model pin config
Jiang Zhe [Mon, 12 Nov 2007 11:43:37 +0000 (12:43 +0100)]
[ALSA] hda-codec - Update dell-m82 model pin config

Updated dell-m82 model pin config table.  The old config doesn't work
with Dell 1210 and co.

Signed-off-by: Jiang Zhe <zhe.jiang@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] sound/pci: remove duplicated defines
Nicolas Kaiser [Mon, 12 Nov 2007 11:25:02 +0000 (12:25 +0100)]
[ALSA] sound/pci: remove duplicated defines

Remove duplicated defines.
(From their use it looks like 'midiDataOutx are written to
rather than read from.)

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] sound: remove dead config symbol from sound code
Jiri Olsa [Mon, 12 Nov 2007 11:15:42 +0000 (12:15 +0100)]
[ALSA] sound: remove dead config symbol from sound code

remove dead config symbols from sound code

Signed-off-by: Jiri Olsa <olsajiri@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] use convenient treble scale on WM8750
Stanislav Brabec [Mon, 12 Nov 2007 11:11:10 +0000 (12:11 +0100)]
[ALSA] use convenient treble scale on WM8750

On Zaurus SL-C3200 (terrier/spitz) based on WM8750, treble scale is
inconveniently reverted (increase level = decrease treble), in opposite
to bass scale, which uses convenient scale.
Fix ALSA WM8750 mixer treble to use convenient treble scale (increase =
increase treble level)
From: Stanislav Brabec <utx@penguin.cz>

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] Update SNDRV_HWDEP_IFACE_LAST
Takashi Iwai [Thu, 8 Nov 2007 08:09:58 +0000 (09:09 +0100)]
[ALSA] Update SNDRV_HWDEP_IFACE_LAST

Updated the forgotten SNDRV_HWDEP_IFACE_LAST to point the really last member.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] sound/pci: remove line duplications in defines
Nicolas Kaiser [Wed, 7 Nov 2007 17:31:43 +0000 (18:31 +0100)]
[ALSA] sound/pci: remove line duplications in defines

Remove line duplications in defines.
Acked-by: Thomas Sailer <sailer@ife.ee.ethz.ch>
Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda: STAC9228 Subsystem update
Matthew Ranostay [Wed, 7 Nov 2007 14:54:45 +0000 (15:54 +0100)]
[ALSA] hda: STAC9228 Subsystem update

Added more laptops subsystem id's that have STAC9228 DMIC support.

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 ago[ALSA] cmipci - allow capture of raw spdif subframes
Timofei Bondarenko [Wed, 7 Nov 2007 14:50:52 +0000 (15:50 +0100)]
[ALSA] cmipci - allow capture of raw spdif subframes

Enable capturing of raw 32bit IEC958_SUBFRAME.
The 24-bits PCM data can be obtained using iec958 plugin.
Known problem: captured stream may begin with either left or right
subframe. Since the iec958 plugin doesn't decode preamble it may swap
the channels sometime.

Signed-off-by: Timofei Bondarenko <tim@ipi.ac.ru>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] cmipci - utilize ADC48K44K bit
Timofei Bondarenko [Wed, 7 Nov 2007 14:49:57 +0000 (15:49 +0100)]
[ALSA] cmipci - utilize ADC48K44K bit

Setting the ADC48K44K greatly improves capture quality at 48k sampling rate.
With this bit clear ADC does ZOH interpolation of every 22th sample at 48k.
At frequencies higher than 48k there ADC performs a little better with
ADC48K44K bit set.
At 44.1k ADC performs a little better with this bit clear.
At frequencies below 44.1k there is no difference.

Signed-off-by: Timofei Bondarenko <tim@ipi.ac.ru>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - new PCI SSID for HP machines
Takashi Iwai [Wed, 7 Nov 2007 13:18:01 +0000 (14:18 +0100)]
[ALSA] hda-codec - new PCI SSID for HP machines

Added new PCI SSIDs for HP machines with ALC262 codec.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda: STAC92HD71 codec mixer
Matthew Ranostay [Wed, 7 Nov 2007 12:03:12 +0000 (13:03 +0100)]
[ALSA] hda: STAC92HD71 codec mixer

Added analog loopback support and missing ADC capture mixer for the
STAC92HD71 codec family.

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 ago[ALSA] ASoC: sh: improve generated code for HAC module (AC97)
Manuel Lauss [Tue, 6 Nov 2007 10:56:17 +0000 (11:56 +0100)]
[ALSA] ASoC: sh: improve generated code for HAC module (AC97)

Change loops in ac97_read/write functions to count down to zero
rather than up. Gcc will then use the 'dt' (decrement-and-test) op
instead of an increment/compare op-pair.

Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda: Added new IDT codec family
Matthew Ranostay [Tue, 6 Nov 2007 10:53:55 +0000 (11:53 +0100)]
[ALSA] hda: Added new IDT codec family

Added initial support for the STAC92HD71BXX family of 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 ago[ALSA] HDA-Intel - Add support for RV610/RV630 HDMI audio
Herton Ronaldo Krzesinski [Mon, 5 Nov 2007 17:21:56 +0000 (18:21 +0100)]
[ALSA] HDA-Intel - Add support for RV610/RV630 HDMI audio

The Audio interface on HD2400/HD2600 cards isn't currently detected by
snd-hda-intel. I added missing pci device ids for RV610 and RV630, but
I only had a HD2400 pro card to test, where now the audio interface is
detected (and no need to change patch_atihdmi.c, as the codec vendor id
remains 0x1002aa01 for which we already have an entry there). I also
couldn't test if sound pass-trough is ok (and I don't know how to), but
at least now the device is detected.

Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] [ML403-AC97CR] Fix capture/periodic overrun bug
Joachim Foerster [Mon, 5 Nov 2007 14:48:36 +0000 (15:48 +0100)]
[ALSA] [ML403-AC97CR] Fix capture/periodic overrun bug

We have to do fairly accurate counting of the minimal periods, instead
of being lazy and just setting the number to zero as soon as one period
elapses.

Signed-off-by: Joachim Foerster <JOFT@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] Xilinx ML403 AC97 Controller Reference device driver
Joachim Foerster [Mon, 5 Nov 2007 15:06:01 +0000 (16:06 +0100)]
[ALSA] Xilinx ML403 AC97 Controller Reference device driver

Add ALSA support for the opb_ac97_controller_ref_v1_00_a ip core found
in Xilinx' ML403 reference design.
Known issue: Currently this driver hits a WARN_ON_ONCE(1) statement in
kernel/irq/resend.c (line 70). According to Linus
(http://lkml.org/lkml/2007/8/5/5) this may be ignored, right? I haven't
had a look into this 'problem' yet.

Signed-off-by: Joachim Foerster <JOFT@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda: STAC9228 DMIC
Matthew Ranostay [Mon, 5 Nov 2007 14:30:13 +0000 (15:30 +0100)]
[ALSA] hda: STAC9228 DMIC

Added support for the dmics and enabled EAPD for several laptops with
STAC9228 cards.

Signed-off-by: Matthew Ranostay <mranostay@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] HDA: Add Asus VX1 support
Tobin Davis [Mon, 5 Nov 2007 14:13:51 +0000 (15:13 +0100)]
[ALSA] HDA: Add Asus VX1 support

Simple patch to add the Asus VX1 laptop to the Analog Devices pci quirk list.

Signed-off-by: Tobin Davis <tdavis@dsl-only.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] cmipci at 96kHz
Timofei Bondarenko [Wed, 31 Oct 2007 16:36:20 +0000 (17:36 +0100)]
[ALSA] cmipci at 96kHz

This patch adds support for 88.2k, 96k, and 128k samplerates
on cmi8738-55 chip.
Analog playback works fine on all channels.
Analog capture works well too, though the extra samples seems
interpolated by hardware.
spdif playback and capture works fine.

Signed-off-by: Timofei Bondarenko <tim@ipi.ac.ru>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Improve the auto-configuration
Takashi Iwai [Wed, 31 Oct 2007 14:49:32 +0000 (15:49 +0100)]
[ALSA] hda-codec - Improve the auto-configuration

Some small improvements on autocfg stuff:
- sort HP pins by sequence number, too
- move sole mic pin to AUTO_PIN_MIC instead of AUTO_PIN_FRONT_MIC
- ditto for line-in pin

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] usb-audio - SB Live24-External better handling
Timofei Bondarenko [Tue, 30 Oct 2007 14:28:14 +0000 (15:28 +0100)]
[ALSA] usb-audio - SB Live24-External better handling

This patch improves support for 'SB Live 24-bit Extarnal' USB card.
1) This card can go into muted state when a headphones connected or
disconnected. So notify mixer about changes in headphone jack.
2) Add LED controls and procfs support just as in similar Audigy 2 NX card.
3) Rename 'PCM Capture' conrol to 'Mic Capture' to reflect reality:
the card may adjust microphone input level only.

Signed-off-by: Timofei Bondarenko <tim@ipi.ac.ru>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] opl3 - Fix build errors
Takashi Iwai [Tue, 30 Oct 2007 11:43:40 +0000 (12:43 +0100)]
[ALSA] opl3 - Fix build errors

I applied a wrong patch for 'opl3 - simplify exclusive access lock'.
Fixed now.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] Remove sequencer instrument layer
Takashi Iwai [Tue, 30 Oct 2007 11:17:17 +0000 (12:17 +0100)]
[ALSA] Remove sequencer instrument layer

Remove sequencer instrument layer from the tree.
This mechanism hasn't been used much with the actual devices.  The only
reasonable user was OPL3 loader, and now it was rewritten to use hwdep
instead.  So, let's remove the rest of rotten codes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] opl3 - simplify exclusive access lock
Takashi Iwai [Tue, 30 Oct 2007 10:59:15 +0000 (11:59 +0100)]
[ALSA] opl3 - simplify exclusive access lock

Use the exclusive access lock in hwdep instead of the own one.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] opl3 - Use hwdep for patch loading
Takashi Iwai [Tue, 30 Oct 2007 10:49:22 +0000 (11:49 +0100)]
[ALSA] opl3 - Use hwdep for patch loading

Use the hwdep device for loading OPL2/3 patch data instead of the
messy sequencer instrument layer.
Due to this change, the sbiload program should be updated, too.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] Dreamcast AICA sound - Get rid of annoying compiler warning
Takashi Iwai [Mon, 29 Oct 2007 09:49:43 +0000 (10:49 +0100)]
[ALSA] Dreamcast AICA sound - Get rid of annoying compiler warning

This patch supresses an annoying compiler warning that the variable
err may be used uninitialised.
Signed-off by: Adrian McMenamin <adrian@mcmen.demon.co.uk>

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] ac97_patch: compilation warning fix
Krzysztof Helt [Mon, 29 Oct 2007 09:48:40 +0000 (10:48 +0100)]
[ALSA] ac97_patch: compilation warning fix

This patch kills these two compilation warnings if
power management is disabled:
sound/pci/ac97/ac97_patch.h:86: warning: 'snd_ac97_restore_status'
declared 'static' but never defined
sound/pci/ac97/ac97_patch.h:87: warning: 'snd_ac97_restore_iec958'
declared 'static' but never defined

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] Introduce slots option to snd module
Takashi Iwai [Fri, 26 Oct 2007 13:10:15 +0000 (15:10 +0200)]
[ALSA] Introduce slots option to snd module

Introduced the global 'slots' option to snd module.  This option provides
an alternative way to handle the order of multiple sound card instances.
It's an easier approach to avoid conflict with hotplug devices, and can
be used together with the existing 'order' option of each card driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Show more information in proc file
Takashi Iwai [Fri, 26 Oct 2007 12:56:36 +0000 (14:56 +0200)]
[ALSA] hda-codec - Show more information in proc file

Show the current EAPD status and volume-knob status in proc file.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] soc - ln2440sbc ac97 support
Ivan Kuten [Fri, 26 Oct 2007 12:53:47 +0000 (14:53 +0200)]
[ALSA] soc - ln2440sbc ac97 support

This patch adds ac97 support for ln2440sbc board from LittleChips.
This board is based on s3c2440 SoC + AC97 Realtek ALC650 codec.
Existing s3c2443 implementation is slightly modified because s3c2440
and s3c2443 have different AC97 interrupts.

Signed-off-by: Ivan Kuten <ivan.kuten@promwad.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] HDA: Add support for Samsung Q1 Ultra Vista edition
Tobin Davis [Fri, 26 Oct 2007 10:40:47 +0000 (12:40 +0200)]
[ALSA] HDA: Add support for Samsung Q1 Ultra Vista edition

This patch adds full record and playback support for the Samsung Q1
Ultra - Vista model (different codec than the earlier Q1 Ultra models).

Signed-off-by: Tobin Davis <tdavis@dsl-only.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] via82xx - Fix quirk for Shuttle AK32VN
Takashi Iwai [Thu, 25 Oct 2007 09:46:24 +0000 (11:46 +0200)]
[ALSA] via82xx - Fix quirk for Shuttle AK32VN

Fix quirk for Shuttle AK32VN.  It works better with DXS_SRC, and needs
HP_ONLY ac97 quirk.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] ad1848 - Fix print format
Takashi Iwai [Wed, 24 Oct 2007 16:18:11 +0000 (18:18 +0200)]
[ALSA] ad1848 - Fix print format

Fixed the print format for debug message.
Spotted by Matthew Wilcox.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] writing-an-alsa-driver.tmpl: English style improvements
Michael Opdenacker [Wed, 24 Oct 2007 08:59:44 +0000 (10:59 +0200)]
[ALSA] writing-an-alsa-driver.tmpl: English style improvements

This patch brings some English style improvements throughout the
document, as well as 1 or 2 extra technical details.

Signed-off-by: Michael Opdenacker <michael@free-electrons.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] ice1724 - Add support of Onkyo SE-90PCI and SE-200PCI
Shin-ya Okada [Tue, 23 Oct 2007 13:08:18 +0000 (15:08 +0200)]
[ALSA] ice1724 - Add support of Onkyo SE-90PCI and SE-200PCI

Added the support for Onkyo SE-90PCI and SE-200PCI boards.

Signed-off-by: Shin-ya Okada <sh_okada at d4.dion.ne.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] soc - Add 'Mono Playback Switch' to WM9712 codec driver
Mike Rapoport [Mon, 22 Oct 2007 15:41:08 +0000 (17:41 +0200)]
[ALSA] soc - Add 'Mono Playback Switch' to WM9712 codec driver

The following patch adds 'Mono Playback Switch' control to WM9712 codec
SoC driver.
Also, it fixes Treble, Bass and Mono playback volume inversion bits.

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>