platform/upstream/kernel-adaptation-pc.git
16 years agoMerge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/perex/alsa
Linus Torvalds [Thu, 31 Jan 2008 23:16:28 +0000 (10:16 +1100)]
Merge branch 'linus' of git://git./linux/kernel/git/perex/alsa

* 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/perex/alsa: (299 commits)
  [ALSA] version 1.0.16rc2
  [ALSA] hda: fix Mic in as output
  [ALSA] emu10k1 - Another EMU0404 Board ID
  [ALSA] emu10k1 - Fix kthread handling at resume
  [ALSA] emu10k1: General cleanup, add new locks, fix alsa bug#3501, kernel bug#9304.
  [ALSA] emu10k1 - Use enum for emu_model types
  [ALSA] emu10k1 - Don't create emu1010 controls for non-emu boards
  [ALSA] emu10k1 - 1616(M) cardbus improvements
  [ALSA] snd:emu10k1: E-Mu updates. Fixes to firmware loading and support for 0404.
  [ALSA] emu10k1: Add comments regarding E-Mu ins and outs.
  [ALSA] oxygen: revert SPI clock frequency change for AK4396/WM8785
  [ALSA] es1938 - improve capture hw pointer reads
  [ALSA] HDA-Intel - Add support for Intel SCH
  [ALSA] hda: Add GPIO mute support to STAC9205
  [ALSA] hda-codec - Add Dell T3400 support
  [ALSA] hda-codec - Add model for HP DV9553EG laptop
  [ALSA] hda-codec - Control SPDIF as slave
  [ALSA] hda_intel: ALSA HD Audio patch for Intel ICH10 DeviceID's
  [ALSA] Fix Oops with PCM OSS sync
  [ALSA] hda-codec - Add speaker automute to ALC262 HP models
  ...

16 years agoMerge git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86
Linus Torvalds [Thu, 31 Jan 2008 23:15:32 +0000 (10:15 +1100)]
Merge git://git./linux/kernel/git/x86/linux-2.6-x86

* git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86:
  asm-generic/tlb.h: build fix
  x86: uninline __pte_free_tlb() and __pmd_free_tlb()
  x86: fix small sparse warning
  x86: fix sparse warning in kernel/scx200_32.c
  x86: early_ioremap_reset fix 2
  x86: c_p_a clflush_cache_range fix
  x86: change_page_attr_clear fix
  x86: fix sparse warnings in intel_cacheinfo.c

16 years agoasm-generic/tlb.h: build fix
Ingo Molnar [Thu, 31 Jan 2008 21:05:48 +0000 (22:05 +0100)]
asm-generic/tlb.h: build fix

bring back the avr32, blackfin, sh, sparc architectures into working order,
by reverting the effects of this change that came in via the x86 tree:

   commit a5a19c63f4e55e32dc0bc3d936d7f94793d8b380
   Author: Jeremy Fitzhardinge <jeremy@goop.org>
   Date:   Wed Jan 30 13:33:39 2008 +0100

       x86: demacro asm-x86/pgalloc_32.h

Sorry about that!

Signed-off-by: Ingo Molnar <mingo@elte.hu>
16 years agox86: uninline __pte_free_tlb() and __pmd_free_tlb()
Ingo Molnar [Thu, 31 Jan 2008 21:05:48 +0000 (22:05 +0100)]
x86: uninline __pte_free_tlb() and __pmd_free_tlb()

this also removes an include file dependency.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
16 years agox86: fix small sparse warning
Harvey Harrison [Thu, 31 Jan 2008 21:05:47 +0000 (22:05 +0100)]
x86: fix small sparse warning

arch/x86/kernel/ds.c:226:9: warning: Using plain integer as NULL pointer

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
16 years agox86: fix sparse warning in kernel/scx200_32.c
Harvey Harrison [Thu, 31 Jan 2008 21:05:45 +0000 (22:05 +0100)]
x86: fix sparse warning in kernel/scx200_32.c

arch/x86/kernel/scx200_32.c:68:72: warning: Using plain integer as NULL pointer

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
16 years agox86: early_ioremap_reset fix 2
Huang, Ying [Thu, 31 Jan 2008 21:05:45 +0000 (22:05 +0100)]
x86: early_ioremap_reset fix 2

This patch fixes a bug of early_ioremap_reset(), which had been fixed
before by "convert the boot time page table to the kernels native
format" patch. But that patch has been reverted now.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
16 years agox86: c_p_a clflush_cache_range fix
Huang, Ying [Thu, 31 Jan 2008 21:05:45 +0000 (22:05 +0100)]
x86: c_p_a clflush_cache_range fix

Because in i386 early boot stage, boot_cpu_data may be not available,
which makes clflush_cach_range() into infinite loop, which is called
by change_page_attr(). This patch fixes this by setting
boot_cpu_data.x86_clflush_size in early_cpu_detect().

Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
16 years agox86: change_page_attr_clear fix
Huang, Ying [Thu, 31 Jan 2008 21:05:43 +0000 (22:05 +0100)]
x86: change_page_attr_clear fix

This patch replaces __change_page_attr_set_clr() with
change_page_attr_set_clr() in change_page_attr_clear() to flush the
TLB/cache properly.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
16 years agox86: fix sparse warnings in intel_cacheinfo.c
Harvey Harrison [Thu, 31 Jan 2008 21:05:43 +0000 (22:05 +0100)]
x86: fix sparse warnings in intel_cacheinfo.c

arch/x86/kernel/cpu/intel_cacheinfo.c:355:7: warning: symbol 'i' shadows an earlier one
arch/x86/kernel/cpu/intel_cacheinfo.c:296:39: originally declared here
arch/x86/kernel/cpu/intel_cacheinfo.c:367:18: warning: incorrect type in argument 2 (different signedness)
arch/x86/kernel/cpu/intel_cacheinfo.c:367:18:    expected unsigned int *eax
arch/x86/kernel/cpu/intel_cacheinfo.c:367:18:    got int *
arch/x86/kernel/cpu/intel_cacheinfo.c:367:28: warning: incorrect type in argument 3 (different signedness)
arch/x86/kernel/cpu/intel_cacheinfo.c:367:28:    expected unsigned int *ebx
arch/x86/kernel/cpu/intel_cacheinfo.c:367:28:    got int *
arch/x86/kernel/cpu/intel_cacheinfo.c:367:38: warning: incorrect type in argument 4 (different signedness)
arch/x86/kernel/cpu/intel_cacheinfo.c:367:38:    expected unsigned int *ecx
arch/x86/kernel/cpu/intel_cacheinfo.c:367:38:    got int *
arch/x86/kernel/cpu/intel_cacheinfo.c:367:48: warning: incorrect type in argument 5 (different signedness)
arch/x86/kernel/cpu/intel_cacheinfo.c:367:48:    expected unsigned int *edx
arch/x86/kernel/cpu/intel_cacheinfo.c:367:48:    got int *

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
16 years ago[ALSA] version 1.0.16rc2
Jaroslav Kysela [Thu, 31 Jan 2008 16:40:18 +0000 (17:40 +0100)]
[ALSA] version 1.0.16rc2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda: fix Mic in as output
Matthew Ranostay [Wed, 30 Jan 2008 13:58:38 +0000 (14:58 +0100)]
[ALSA] hda: fix Mic in as output

Some laptop has an internal analog microphone that is 'fixed'.
This patch prevents creating a 'Mic In as Output' switch for
ports that can't be outputs.

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] emu10k1 - Another EMU0404 Board ID
Veli-Matti Valtonen [Mon, 7 Jan 2008 11:36:56 +0000 (12:36 +0100)]
[ALSA] emu10k1 - Another EMU0404 Board ID

This is based on pseudo-random playing around with the capabilities.
With ca0102 this card gives no output atall, ca0108 appears to work
fine, so it rather looks similar to the EMU1010b/EMU1010 changes.
Some other people seem to have succeeded in using this aswell:
    https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3496
From: Veli-Matti Valtonen <maligor@gmail.com>

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] emu10k1 - Fix kthread handling at resume
Takashi Iwai [Fri, 14 Dec 2007 11:43:00 +0000 (12:43 +0100)]
[ALSA] emu10k1 - Fix kthread handling at resume

Don't create emu1010 kthread again at resume if it's already created.
Also make the thread function static.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] emu10k1: General cleanup, add new locks, fix alsa bug#3501, kernel bug#9304.
James Courtier-Dutton [Sat, 10 Nov 2007 17:55:14 +0000 (17:55 +0000)]
[ALSA] emu10k1: General cleanup, add new locks, fix alsa bug#3501, kernel bug#9304.

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] emu10k1 - Use enum for emu_model types
Takashi Iwai [Fri, 21 Dec 2007 15:33:32 +0000 (16:33 +0100)]
[ALSA] emu10k1 - Use enum for emu_model types

Use enum instead of digits for emu_model types.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] emu10k1 - Don't create emu1010 controls for non-emu boards
Takashi Iwai [Fri, 21 Dec 2007 15:20:12 +0000 (16:20 +0100)]
[ALSA] emu10k1 - Don't create emu1010 controls for non-emu boards

The last change for emu1616 introduced a bug that the driver creates
emu1010-related controls even on non-emu boards.  Fixed now.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] emu10k1 - 1616(M) cardbus improvements
Ctirad Fertr [Thu, 13 Dec 2007 15:27:13 +0000 (16:27 +0100)]
[ALSA] emu10k1 - 1616(M) cardbus improvements

This patch improves E-Mu 1616(M) cardbus support. It adds definitions of the
new Microdock and 1010 cardbus registers (thanks again for descriptions
James) and improves mixer for this card. Now you can use S/PDIF and ADAT on
Mirodock and also use headpohone output on host cardbus card as another
independent output.

Signed-off-by: Ctirad Fertr <c.fertr@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] snd:emu10k1: E-Mu updates. Fixes to firmware loading and support for 0404.
James Courtier-Dutton [Sun, 4 Nov 2007 14:08:26 +0000 (14:08 +0000)]
[ALSA] snd:emu10k1: E-Mu updates. Fixes to firmware loading and support for 0404.

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] emu10k1: Add comments regarding E-Mu ins and outs.
James Courtier-Dutton [Mon, 12 Nov 2007 12:11:53 +0000 (12:11 +0000)]
[ALSA] emu10k1: Add comments regarding E-Mu ins and outs.

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: revert SPI clock frequency change for AK4396/WM8785
Clemens Ladisch [Wed, 30 Jan 2008 07:38:30 +0000 (08:38 +0100)]
[ALSA] oxygen: revert SPI clock frequency change for AK4396/WM8785

While the AK4396 and WM8785 datasheets say that the SPI clock cycle
length must be at least 200 ns, 320 ns seems not to work reliably with
the controller, so we better use 160 ns.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] es1938 - improve capture hw pointer reads
Hermann Lauer [Wed, 30 Jan 2008 07:25:13 +0000 (08:25 +0100)]
[ALSA] es1938 - improve capture hw pointer reads

With the Solo1 (es1938) I got a lot of xrun's during capture on my machine.
Tracing that down it seems to be comming from reading ocassionaly bad hw
pointers from the chip.  This patch uses more checking to avoid that false
pointer reads.
Failed reads are giving back the last good value read instead of spinning in
a tight loop, which seems more appropriate to me in an interrupt. I think I
saw this trick used in another driver

Signed-off-by: Hermann Lauer <Hermann.Lauer@iwr.uni-heidelberg.de>
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 Intel SCH
Tobin Davis [Wed, 30 Jan 2008 07:13:55 +0000 (08:13 +0100)]
[ALSA] HDA-Intel - Add support for Intel SCH

This patch adds support for Intel's SCH mobile chipset.

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] hda: Add GPIO mute support to STAC9205
Matthew Ranostay [Tue, 29 Jan 2008 14:28:44 +0000 (15:28 +0100)]
[ALSA] hda: Add GPIO mute support to STAC9205

Support added for detecting HP jack presence via GPIO on several laptop docks.

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 - Add Dell T3400 support
Douglas Kosovic [Tue, 29 Jan 2008 14:02:50 +0000 (15:02 +0100)]
[ALSA] hda-codec - Add Dell T3400 support

Added the support for Dell T3400 with AD1984 codec chip.
ALSA bug#3699:
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3699

Signed-off-by: Douglas Kosovic <douglask@itee.uq.edu.au>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Add model for HP DV9553EG laptop
Takashi Iwai [Tue, 29 Jan 2008 12:26:04 +0000 (13:26 +0100)]
[ALSA] hda-codec - Add model for HP DV9553EG laptop

Added the proper model for HP DV9553EG laptop with Cxt5045.
ALSA bug#3534
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3534

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Control SPDIF as slave
Takashi Iwai [Tue, 29 Jan 2008 11:47:02 +0000 (12:47 +0100)]
[ALSA] hda-codec - Control SPDIF as slave

Add SPDIF playback switch to the slave element list so that it
can be toggled via the master control as well.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda_intel: ALSA HD Audio patch for Intel ICH10 DeviceID's
Jason Gaston [Tue, 29 Jan 2008 11:38:49 +0000 (12:38 +0100)]
[ALSA] hda_intel: ALSA HD Audio patch for Intel ICH10 DeviceID's

This patch adds the Intel ICH10 HD Audio Controller DeviceID's.

Signed-off-by: Jason Gaston <jason.d.gaston@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] Fix Oops with PCM OSS sync
Takashi Iwai [Mon, 28 Jan 2008 22:53:41 +0000 (23:53 +0100)]
[ALSA] Fix Oops with PCM OSS sync

The PCM OSS emulation can cause Oops at sync operation due to the wrong
data size calculation.  Typically happening on Sparc64:
http://lkml.org/lkml/2008/1/24/426

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Add speaker automute to ALC262 HP models
Takashi Iwai [Mon, 28 Jan 2008 17:17:43 +0000 (18:17 +0100)]
[ALSA] hda-codec - Add speaker automute to ALC262 HP models

Added the speaker-automute function to ALC262 HP models.
Also, 'Mono' mixer elements are renamed as more intuitive 'Speaker'.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Add speaker automute to ALC260 HP models
Takashi Iwai [Mon, 28 Jan 2008 17:16:30 +0000 (18:16 +0100)]
[ALSA] hda-codec - Add speaker automute to ALC260 HP models

Added the speaker-automute function to ALC260 HP models.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Fix ALC262 HP-RP5700 model
Takashi Iwai [Mon, 28 Jan 2008 17:14:43 +0000 (18:14 +0100)]
[ALSA] hda-codec - Fix ALC262 HP-RP5700 model

Removed the PCM mixer elements conflicting with others.
Also renamed Master control to Headphone, which isn't a real master.
(The Master control is still created as a virtual master even after
 this rename.)

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Fix mixer controls with ALC262 HP T5735 model
Takashi Iwai [Mon, 28 Jan 2008 17:12:42 +0000 (18:12 +0100)]
[ALSA] hda-codec - Fix mixer controls with ALC262 HP T5735 model

The PCM mixer elements in HP T5735 model of ALC262 codec conflict
with Speaker and Headphone volumes.  They should be removed.
Ditto for LineOut that is identical with Speaker.
Also, fixed/cleaned up the auto-mute callback to use the amp cache
correctly.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Rename non-standard 'iSpeaker'
Takashi Iwai [Mon, 28 Jan 2008 17:09:56 +0000 (18:09 +0100)]
[ALSA] hda-codec - Rename non-standard 'iSpeaker'

Renamed the non-standard mixer elements 'iSpeaker' to 'Speaker'
in Realtek codecs.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Add SPDIF output support to AD1986a laptop-eapd model
Takashi Iwai [Mon, 28 Jan 2008 11:30:17 +0000 (12:30 +0100)]
[ALSA] hda-codec - Add SPDIF output support to AD1986a laptop-eapd model

The SPDIF output on AD1986A laptop-eapd model is disabled although
some Samsung laptops have SPDIF output.  Enable it after checking the
pin default config.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Add model for Gigabyte P35 DS3R
Jiang zhe [Mon, 28 Jan 2008 11:28:24 +0000 (12:28 +0100)]
[ALSA] hda-codec - Add model for Gigabyte P35 DS3R

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] virtuoso: monitor external power on D2X
Clemens Ladisch [Mon, 28 Jan 2008 07:36:55 +0000 (08:36 +0100)]
[ALSA] virtuoso: monitor external power on D2X

On the Xonar D2X, monitor the GPIO pin that indicates whether external
power is present.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: add front panel capture
Clemens Ladisch [Mon, 28 Jan 2008 07:35:47 +0000 (08:35 +0100)]
[ALSA] oxygen: add front panel capture

When a second AC97 codec is present, add a PCM device for capturing from
the front panel.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: add front panel controls
Clemens Ladisch [Mon, 28 Jan 2008 07:35:20 +0000 (08:35 +0100)]
[ALSA] oxygen: add front panel controls

Add mixer controls for the front panel AC97 codec.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: use AC97 interrupt
Clemens Ladisch [Mon, 28 Jan 2008 07:34:21 +0000 (08:34 +0100)]
[ALSA] oxygen: use AC97 interrupt

After an AC97 register read or write, use the AC97 interrupt instead of
polling to wait for the access to be completed.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: make line-in exclusive only on Xonar
Clemens Ladisch [Mon, 28 Jan 2008 07:33:44 +0000 (08:33 +0100)]
[ALSA] oxygen: make line-in exclusive only on Xonar

Move the line input switching code to the Virtuoso driver because only
the Xonar cards bypass the analog mixer for line input.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: fix AK4396 double rate upper limit
Clemens Ladisch [Mon, 28 Jan 2008 07:32:58 +0000 (08:32 +0100)]
[ALSA] oxygen: fix AK4396 double rate upper limit

Fix the upper sample rate limit for the double rate mode of the AK4396
to the value from the datasheet.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Add SPDIF controls as slave on AD codecs
Takashi Iwai [Sat, 26 Jan 2008 08:58:13 +0000 (09:58 +0100)]
[ALSA] hda-codec - Add SPDIF controls as slave on AD codecs

The AD codecs have hardware SPDIF volume/switch controls but they
are not assigned to the slave list for virtual master controls.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda: STAC92xx Line In/Mic as output check
Matthew Ranostay [Fri, 25 Jan 2008 14:24:50 +0000 (15:24 +0100)]
[ALSA] hda: STAC92xx Line In/Mic as output check

This patch checks to see the Line In/Mic port have the ability
to do output before creating the the control switches.
The 92hd71bxx series of codecs has this issue with the port 0xe,
which only allows input.

Signed-off-by: Matthew Ranostay <mranostay@embededalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Add missing slave for AD1884 master switch
Takashi Iwai [Fri, 25 Jan 2008 10:56:57 +0000 (11:56 +0100)]
[ALSA] hda-codec - Add missing slave for AD1884 master switch

The Speaker switch is missing in the slave list.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Add model for Acer Aspire 5310
Andy Shevchenko [Fri, 25 Jan 2008 10:53:50 +0000 (11:53 +0100)]
[ALSA] hda-codec - Add model for Acer Aspire 5310

Simplify usage of the Acer Aspire 5310 laptop with the ALC268 based codec
sound card via add correct PCI SSID.

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 Conexant 5051 codec support
Takashi Iwai [Fri, 25 Jan 2008 10:35:17 +0000 (11:35 +0100)]
[ALSA] hda-codec - Add Conexant 5051 codec support

Added the support for Conexant 5051 audio codec.
Right now there are two preset models, laptop and hp.
The whole patch is based on the information from the base patch by
Linuxant.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] add TempoTec HiFier driver
Clemens Ladisch [Fri, 25 Jan 2008 07:41:52 +0000 (08:41 +0100)]
[ALSA] add TempoTec HiFier driver

Add a driver for the MediaTek/TempoTec HiFier Fantasia sound card.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: more initialization
Clemens Ladisch [Fri, 25 Jan 2008 07:39:26 +0000 (08:39 +0100)]
[ALSA] oxygen: more initialization

Initialize more registers of the controller and the second AC97 codec.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: make the number of analog output configurable
Clemens Ladisch [Fri, 25 Jan 2008 07:37:49 +0000 (08:37 +0100)]
[ALSA] oxygen: make the number of analog output configurable

Add a field to struct oxygen_model to allow model drivers for cards with
less than eight output channels.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] usb/caiaq: decrease period_bytes_min
Daniel Mack [Thu, 24 Jan 2008 17:46:42 +0000 (18:46 +0100)]
[ALSA] usb/caiaq: decrease period_bytes_min

This patch decreases the snd_pcm_hardware->period_bytes_min field in the
caiaq/usb audio driver. The hardware can actually handle as few as 128
bytes, depending on the system. So it makes no sense to keep
applications from actually using such values.

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] fm801 - Add mute support for FM-only card with FM801 PCI to tuner bridge
Andy Shevchenko [Thu, 24 Jan 2008 17:11:53 +0000 (18:11 +0100)]
[ALSA] fm801 - Add mute support for FM-only card with FM801 PCI to tuner bridge

This is improvement of the early support of the FM-only cards where the
fm801 chip represents the PCI to tuner bridge.
The tuner initialization isn't included the mute on as well as mute support
via V4L request. Proposed patch should fix this at least for 64-PCR model.

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 model for Acer Aspire 5315
Andy Shevchenko [Thu, 24 Jan 2008 16:29:00 +0000 (17:29 +0100)]
[ALSA] hda-codec - Add model for Acer Aspire 5315

Simplify usage of the Acer Aspire 5315 laptop with the ALC268 based codec
sound card via add correct PCI SSID.

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: STAC9205 GPIO line fix
Matthew Ranostay [Thu, 24 Jan 2008 14:32:15 +0000 (15:32 +0100)]
[ALSA] hda: STAC9205 GPIO line fix

Fixed issue that the incorrect GPIO line was being pulled high
for some STAC9205 based laptops.

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 - Fix handling of multiple capture streams
Takashi Iwai [Thu, 24 Jan 2008 14:31:36 +0000 (15:31 +0100)]
[ALSA] hda-codec - Fix handling of multiple capture streams

Fixed the bug that multiple capture streams conflict on Realtek codec
routines.
Also, this adds a framework to enable the alternative playback stream,
e.g. for VoIP.  It's not fully implemented yet, though.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda: Add dynamic mono mixer support for STAC92xx codecs
Matthew Ranostay [Thu, 24 Jan 2008 10:49:21 +0000 (11:49 +0100)]
[ALSA] hda: Add dynamic mono mixer support for STAC92xx codecs

Allows for dynamically creating mono out mixer controls and well
as mono mux controls.

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: Added mono_out_pin to autoconfig
Matthew Ranostay [Thu, 24 Jan 2008 10:48:01 +0000 (11:48 +0100)]
[ALSA] hda: Added mono_out_pin to autoconfig

Added a mono_out_pin field to autocfg struct, and code to parse
for the mono_out_line.

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] oxygen: remove MIDI for generic cards
Clemens Ladisch [Thu, 24 Jan 2008 07:43:39 +0000 (08:43 +0100)]
[ALSA] oxygen: remove MIDI for generic cards

None of the reference design models have MIDI, only the X-Meridian
allows to connect a MIDI adapter.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: fix SPDIF input rates
Clemens Ladisch [Thu, 24 Jan 2008 07:43:16 +0000 (08:43 +0100)]
[ALSA] oxygen: fix SPDIF input rates

Fix up SPDIF input sample rates again: 32 kHz and 64 kHz are not
supported.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] fix opti9xx/miro section mismatch
Randy Dunlap [Wed, 23 Jan 2008 10:52:38 +0000 (11:52 +0100)]
[ALSA] fix opti9xx/miro section mismatch

snd_opti93x_mixer() is only called by __devinit snd_opti93x_probe(),
so the former can also be __devinit.
snd_miro_mixer() is only called by __devinit snd_miro_probe(),
so the former can also be __devinit.
sound/isa/opti9xx/opti92x-ad1848.c:
WARNING: vmlinux.o(.text+0xf91cd7): Section mismatch: reference to .init.data:snd_opti93x_controls (between 'snd_opti93x_mixer' and 'snd_card_opti9xx_free')
WARNING: vmlinux.o(.text+0xf91d66): Section mismatch: reference to .init.data:snd_miro_controls (between 'snd_opti93x_mixer' and 'snd_card_opti9xx_free')
opti9xx/miro.c:
WARNING: vmlinux.o(.text+0xf926c2): Section mismatch: reference to .init.data:snd_miro_controls (between 'snd_miro_mixer' and 'snd_legacy_find_free_ioport')
WARNING: vmlinux.o(.text+0xf926e5): Section mismatch: reference to .init.data:snd_miro_eq_controls (between 'snd_miro_mixer' and 'snd_legacy_find_free_ioport')
WARNING: vmlinux.o(.text+0xf926f9): Section mismatch: reference to .init.data:snd_miro_line_control (between 'snd_miro_mixer' and 'snd_legacy_find_free_ioport')
WARNING: vmlinux.o(.text+0xf92716): Section mismatch: reference to .init.data:snd_miro_amp_control (between 'snd_miro_mixer' and 'snd_legacy_find_free_ioport')
WARNING: vmlinux.o(.text+0xf9273e): Section mismatch: reference to .init.data:snd_miro_preamp_control (between 'snd_miro_mixer' and 'snd_legacy_find_free_ioport')
WARNING: vmlinux.o(.text+0xf92764): Section mismatch: reference to .init.data:snd_miro_capture_control (between 'snd_miro_mixer' and 'snd_legacy_find_free_ioport')
WARNING: vmlinux.o(.text+0xf92783): Section mismatch: reference to .init.data:snd_miro_radio_control (between 'snd_miro_mixer' and 'snd_legacy_find_free_ioport')
WARNING: vmlinux.o(.text+0xf9279a): Section mismatch: reference to .init.data:snd_miro_eq_controls (between 'snd_miro_mixer' and 'snd_legacy_find_free_ioport')
WARNING: vmlinux.o(.text+0xf927b9): Section mismatch: reference to .init.data:snd_miro_radio_control (between 'snd_miro_mixer' and 'snd_legacy_find_free_ioport')

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] fix cs5535 section mismatch
Randy Dunlap [Wed, 23 Jan 2008 10:52:06 +0000 (11:52 +0100)]
[ALSA] fix cs5535 section mismatch

snd_cs5535audio_mixer() is only called by __devinit snd_cs5535audio_probe(),
so the mixer function can also be __devinit.
WARNING: vmlinux.o(.text+0xfdbba0): Section mismatch: reference to .init.data:ac97_quirks (between 'snd_cs5535audio_mixer' and 'process_bm0_irq')

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] ASoC documentation updates
Mark Brown [Wed, 23 Jan 2008 07:41:46 +0000 (08:41 +0100)]
[ALSA] ASoC documentation updates

Update the ASoC documentation.  Along with minor formatting and grammar
cleanups it moves the ASoC overview into the present tense to reflect
the fact that it has now been merged.

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] hda-codec - Don't query widget parameter for invalid NID
Takashi Iwai [Tue, 22 Jan 2008 14:37:13 +0000 (15:37 +0100)]
[ALSA] hda-codec - Don't query widget parameter for invalid NID

Don't query a widget parameter for an invalid NID in get_wcaps() but
rather returns zero (i.e. no attribute).
The read to an non-existing widget may result in a fatal codec
communication error.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Optimize snd_hda_pser_pin_def_config()
Takashi Iwai [Tue, 22 Jan 2008 14:35:37 +0000 (15:35 +0100)]
[ALSA] hda-codec - Optimize snd_hda_pser_pin_def_config()

Don't read the widget list again as we already have it at the beginning.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Add afg and mfg preset mask
Marc Boucher [Tue, 22 Jan 2008 14:32:25 +0000 (15:32 +0100)]
[ALSA] hda-codec - Add afg and mfg preset mask

Added afg and mfg preset masks for more finer codec-preset selection.

Signed-off-by: Marc Boucher <marc@linuxant.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-intel - Add ratelimit to timeout messages
Marc Boucher [Tue, 22 Jan 2008 14:29:26 +0000 (15:29 +0100)]
[ALSA] hda-intel - Add ratelimit to timeout messages

Signed-off-by: Marc Boucher <marc@linuxant.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Add a delay after power state change
Marc Boucher [Tue, 22 Jan 2008 14:23:30 +0000 (15:23 +0100)]
[ALSA] hda-codec - Add a delay after power state change

Added a delay after the power state change as a partial workaround
for 'hda_intel: azx_get_response timeout' problem on Cxt codecs.

Signed-off-by: Marc Boucher <marc@linuxant.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Add missing input controls for Cxt5047 test model
Marc Boucher [Tue, 22 Jan 2008 14:18:08 +0000 (15:18 +0100)]
[ALSA] hda-codec - Add missing input controls for Cxt5047 test model

The input volume/switch elements are missing in Cxt5047 test model.
Also the patch includes some code clean ups.

Signed-off-by: Marc Boucher <marc@linuxant.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Fix laptop models for Cxt5045
Marc Boucher [Tue, 22 Jan 2008 14:15:59 +0000 (15:15 +0100)]
[ALSA] hda-codec - Fix laptop models for Cxt5045

Change laptop models to three different models, laptop-hpsense,
laptop-micsense and laptop-hpmicsense.  The first two correspond to
the old 'laptop' and 'fujitsu' models.
Reassigned the quirk table for the new models.

Signed-off-by: Marc Boucher <marc@linuxant.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda: Mono mux mixer support
Matthew Ranostay [Tue, 22 Jan 2008 11:32:30 +0000 (12:32 +0100)]
[ALSA] hda: Mono mux mixer support

Add support for the mono mux on several 92HD7xxx codecs.
Creates a dynamic mixer for the mux selection.

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] oxygen: add SPDIF loopback control
Clemens Ladisch [Tue, 22 Jan 2008 07:36:03 +0000 (08:36 +0100)]
[ALSA] oxygen: add SPDIF loopback control

Add a mixer control for the SPDIF loopback function.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] Fix lockdep warning in ASoC machine probe
Mark Brown [Mon, 21 Jan 2008 13:33:37 +0000 (14:33 +0100)]
[ALSA] Fix lockdep warning in ASoC machine probe

Don't take the codec mutex during machine probe until we have registered
with ALSA, fixing a lockdep warning reported by Dmitry Baryshkov.
Cc: Dmitry Baryshkov <dbaryshkov@gmail.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 ago[ALSA] oxygen: TempoTec HiFier is probably not supported
Clemens Ladisch [Mon, 21 Jan 2008 11:59:40 +0000 (12:59 +0100)]
[ALSA] oxygen: TempoTec HiFier is probably not supported

The TempoTec HiFier has a somwhat different architecture; remove it from
the list of cards that are known to be supported.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] cs5535audio - Fix available sample rates
Takashi Iwai [Mon, 21 Jan 2008 10:49:03 +0000 (11:49 +0100)]
[ALSA] cs5535audio - Fix available sample rates

The available sample rates on CS5535 depend on AC97 codec chip.
Set the additional hw params limit.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: optimize snd_pcm_hardware structures
Clemens Ladisch [Mon, 21 Jan 2008 07:54:06 +0000 (08:54 +0100)]
[ALSA] oxygen: optimize snd_pcm_hardware structures

Add one more indirection to the lookup of the snd_pcm_hardware
structures so that we can save the space of the duplicate ones.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: add 192 kHz SPDIF input support
Clemens Ladisch [Mon, 21 Jan 2008 07:53:30 +0000 (08:53 +0100)]
[ALSA] oxygen: add 192 kHz SPDIF input support

Change the oxygen_spdif_input_bits_changed() function so that clock
changes on the SPDIF input are correctly detected.  This means that
sample rates greater than 96 kHz are now supported.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: fix DAC source register fields
Clemens Ladisch [Mon, 21 Jan 2008 07:52:29 +0000 (08:52 +0100)]
[ALSA] oxygen: fix DAC source register fields

Fix some wrong values for the definitions of the source masks for DACS 1
and 3.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: fix control filter
Clemens Ladisch [Mon, 21 Jan 2008 07:52:11 +0000 (08:52 +0100)]
[ALSA] oxygen: fix control filter

Actually use the template that was maybe changed by the control filter
instead of the original one.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: move model-specific data out of common header
Clemens Ladisch [Mon, 21 Jan 2008 07:51:55 +0000 (08:51 +0100)]
[ALSA] oxygen: move model-specific data out of common header

Instead of having model-specific fields in the common struct oxygen, put
them into a private structure that is allocated together with the card
structure.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: reduce SPI clock frequency for AK4396/WM8785
Clemens Ladisch [Mon, 21 Jan 2008 07:51:19 +0000 (08:51 +0100)]
[ALSA] oxygen: reduce SPI clock frequency for AK4396/WM8785

According to the datasheets, the SPI clock cycle must be at least 200 ns
for the AK4396 and the WM8785, so we cannot use the default 160 ns.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: allow more sample rates with WM8785
Clemens Ladisch [Mon, 21 Jan 2008 07:50:51 +0000 (08:50 +0100)]
[ALSA] oxygen: allow more sample rates with WM8785

Allow to record with 32 kHz, 64 kHz, 88.2 kHz and 176.4 kHz with cards
that have a WM8785 ADC.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: add more symbols
Clemens Ladisch [Mon, 21 Jan 2008 07:50:19 +0000 (08:50 +0100)]
[ALSA] oxygen: add more symbols

Add symbol definitions for the various codecs and GPIO pins.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: remove MIDI autodetection
Clemens Ladisch [Mon, 21 Jan 2008 07:45:37 +0000 (08:45 +0100)]
[ALSA] oxygen: remove MIDI autodetection

The MIDI bit in the MISC register is set by default and cannot be used
to detect the presence of a MIDI port.  Instead, add a parameter to the
oxygen_pci_probe() function so that model drivers can specify this.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: fix pause handling
Clemens Ladisch [Mon, 21 Jan 2008 07:44:52 +0000 (08:44 +0100)]
[ALSA] oxygen: fix pause handling

Use the DMA_PAUSE register for pausing instead of stopping DMA.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: remove magic numbers
Clemens Ladisch [Mon, 21 Jan 2008 07:44:24 +0000 (08:44 +0100)]
[ALSA] oxygen: remove magic numbers

Replace some magic numbers with register symbols.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: update ALSA-Configuration.txt
Clemens Ladisch [Mon, 21 Jan 2008 07:43:06 +0000 (08:43 +0100)]
[ALSA] oxygen: update ALSA-Configuration.txt

Add documentation entries for snd-oxygen and snd-virtuoso.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] emu10k1 - Fix over-sized kmalloc for TLV
Takashi Iwai [Sat, 19 Jan 2008 09:33:07 +0000 (10:33 +0100)]
[ALSA] emu10k1 - Fix over-sized kmalloc for TLV

Reported by Al Viro:
In copy_tlv(), the size of kmalloc is wrongly calculated.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-intel - Make azx_get_response() a bit more robust
Takashi Iwai [Fri, 18 Jan 2008 14:32:32 +0000 (15:32 +0100)]
[ALSA] hda-intel - Make azx_get_response() a bit more robust

In azx_[rirb_]get_response(), the timeout is checked at the end of the loop.
It's better to be checked just after the check of the RIRB index to avoid
a bogus error with a too long msleep().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] ice1712, ice1724 - Code clean up
Takashi Iwai [Fri, 18 Jan 2008 12:36:07 +0000 (13:36 +0100)]
[ALSA] ice1712, ice1724 - Code clean up

Clean up ice1712/ice1724 codes.  The board-specific data is allocated
locally in each code instead of having an ungly union in struct ice1712.
Also, fix coding issues in prodigy_hifi.c.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda_proc - Add a number of new settings to proc codec output
Andrew Paprocki [Fri, 18 Jan 2008 11:51:11 +0000 (12:51 +0100)]
[ALSA] hda_proc - Add a number of new settings to proc codec output

This patch adds additional output to the /proc codec#X info.
The following pieces of information are added to the output:
-  Balanced, L/R swap, trigger, impedance sense pin capabilities
-  Vref pin capabilities
-  Current Vref pin widget control setting
-  Default configuration association, sequence, and misc bit test
-  EAPD/BTL bits conveying balanced mode, EAPD, and L/R swap
-  Power state modified to show state name as well as setting vs actual value
-  GPIO parameter output on Audio Function Group, including enumeration of IO
   pins which are indicated present (Any I and O pins are not output at this
   time)
-  Stripe and L/R swap widget capabilities
-  All digital converter bits: enable, validity, validity config, preemphasis,
   copyright, non-audio, professional, generation level, and content category
-  Converter stream and channel values for in/out widgets
-  SDI select value for in widgets
-  Unsolicited response widget capability tag and enabled bit
-  Delay widget capability value
-  Processing widget capability benign bit and number of coefficients
-  Realtek Define Registers: processing coefficient, coefficient index
[Also, fixed space/tab issues and make codes a bit more readable
  -- Takashi]

Signed-off-by: Andrew Paprocki <andrew@ishiboo.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: fix playback routing
Clemens Ladisch [Fri, 18 Jan 2008 08:18:32 +0000 (09:18 +0100)]
[ALSA] oxygen: fix playback routing

The default playback routing must be 0xe4, not 0xe1; the front and
surround DACs were exchanged.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: add register definitions
Clemens Ladisch [Fri, 18 Jan 2008 08:17:53 +0000 (09:17 +0100)]
[ALSA] oxygen: add register definitions

Add more symbols for registers and register fields.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] mpc8610: Add mmap support
Timur Tabi [Thu, 17 Jan 2008 16:44:49 +0000 (17:44 +0100)]
[ALSA] mpc8610: Add mmap support

Enable mmap support in the MPC8610 ASoC driver.  The driver can use ALSA's
default mmap functionality, it was just not enabled previously.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] hda-codec - Fix capture source for Cx5045 codec
Jiang zhe [Thu, 17 Jan 2008 10:19:26 +0000 (11:19 +0100)]
[ALSA] hda-codec - Fix capture source for Cx5045 codec

For codec conexant 5045, I found that the name of 'Capture Source Items'
is different from the name of mixer.
The mixer is:
HDA_CODEC_VOLUME('Ext Mic Playback Volume', 0x17, 0x2, HDA_INPUT),
HDA_CODEC_MUTE('Ext Mic Playback Switch', 0x17, 0x2, HDA_INPUT),
But the capture source item is :
static struct hda_input_mux cxt5045_capture_source = {
.num_items = 2,
.items = {
{ 'IntMic', 0x1 },
{ 'LineIn', 0x2 },
}
};
I think that it's better to change the name of capture_source to avoid
misunderstanding.

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 - New model for conexant 5045 codec to support benq r55e
Jiang Zhe [Thu, 17 Jan 2008 10:18:41 +0000 (11:18 +0100)]
[ALSA] hda-codec - New model for conexant 5045 codec to support benq r55e

The benq r55e laptop have 3 jacks on the front panel.
One for HP, one for Line In and one for Mic In.
This patch implemented a new model to support it.

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] Add missing model for HD-audio Cx5045 codec
Takashi Iwai [Thu, 17 Jan 2008 10:17:39 +0000 (11:17 +0100)]
[ALSA] Add missing model for HD-audio Cx5045 codec

Added the description of the model fujitsu for Cx5045 codec chip.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] ice1724 - Add missing prodigy_hifi.h
Julian Scheel [Thu, 17 Jan 2008 10:12:13 +0000 (11:12 +0100)]
[ALSA] ice1724 - Add missing prodigy_hifi.h

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Konstantin Kletschke <konsti@ku-gbr.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] oxygen: make the I2S format configurable
Clemens Ladisch [Thu, 17 Jan 2008 08:05:09 +0000 (09:05 +0100)]
[ALSA] oxygen: make the I2S format configurable

Add proper register bit symbols for the I2S format field, and allow card
models to configure the I2S format to be used for the DACs and ADCs.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] ice1712 - fixed midi input for Hoontech C-Ports
Jaroslav Kysela [Wed, 16 Jan 2008 19:12:34 +0000 (20:12 +0100)]
[ALSA] ice1712 - fixed midi input for Hoontech C-Ports

See ALSA bug#1846 for more details.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 years ago[ALSA] ICE1724: Added support for Audiotrak Prodigy 7.1 HiFi & HD2, Hercules Fortissi...
Julian Scheel [Wed, 16 Jan 2008 18:50:00 +0000 (19:50 +0100)]
[ALSA] ICE1724: Added support for Audiotrak Prodigy 7.1 HiFi & HD2, Hercules Fortissimo IV

See ALSA bug#2384 for more details.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Konstantin Kletschke <konsti@ku-gbr.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>