Matthew Ranostay | 7 Sep 20:35

[PATCH1/1] hda: digital slave support for IDT codecs

Added slave_dig_outs entries for several IDT codecs that have multiple
SPDIF outs, and enabled these SPDIF outs in several pin configs.

---
Signed-off-by: Matthew Ranostay <mranostay <at> embeddedalley.com>

diff --git a/pci/hda/patch_sigmatel.c b/pci/hda/patch_sigmatel.c
index 9968ee4..52b3579 100644
--- a/pci/hda/patch_sigmatel.c
+++ b/pci/hda/patch_sigmatel.c
@@ -229,6 +229,10 @@ static hda_nid_t stac92hd73xx_pwr_nids[8] = {
 	0x0f, 0x10, 0x11
 };

+static hda_nid_t stac92hd73xx_slave_dig_outs[2] = {
+	0x26, 0,
+};
+
 static hda_nid_t stac92hd73xx_adc_nids[2] = {
 	0x1a, 0x1b
 };
@@ -274,6 +278,10 @@ static hda_nid_t stac92hd83xxx_pwr_nids[4] = {
 	0xa, 0xb, 0xd, 0xe,
 };

+static hda_nid_t stac92hd83xxx_slave_dig_outs[2] = {
+	0x1e, 0,
+};
+
 static unsigned int stac92hd83xxx_pwr_mapping[4] = {
(Continue reading)

Matthew Ranostay | 7 Sep 20:31

[PATCH0/1] hda: slave digital out support

Added support for playing a stream on multiple digital outs. This is done
by defining codec->slave_dig_outs as array of hda_nid_t with a null-terminated entry to set the
slave SPDIF outs, in which the slave outs have cloned settings of the master out (e.g. dig_out_nid).

---
Signed-off-by: Matthew Ranostay <mranostay <at> embeddedalley.com>

diff --git a/pci/hda/hda_codec.c b/pci/hda/hda_codec.c
index 4f32911..696d77e 100644
--- a/pci/hda/hda_codec.c
+++ b/pci/hda/hda_codec.c
@@ -1454,12 +1454,22 @@ static int snd_hda_spdif_default_put(struct snd_kcontrol *kcontrol,
 	codec->spdif_ctls = val;

 	if (change) {
+		hda_nid_t *d;
 		snd_hda_codec_write_cache(codec, nid, 0,
 					  AC_VERB_SET_DIGI_CONVERT_1,
 					  val & 0xff);
 		snd_hda_codec_write_cache(codec, nid, 0,
 					  AC_VERB_SET_DIGI_CONVERT_2,
 					  val >> 8);
+
+		for (d = codec->slave_dig_outs; *d; d++) {
+			snd_hda_codec_write_cache(codec, *d, 0,
+					  AC_VERB_SET_DIGI_CONVERT_1,
+					  val & 0xff);
+			snd_hda_codec_write_cache(codec, *d, 0,
+					  AC_VERB_SET_DIGI_CONVERT_2,
+					  val >> 8);
(Continue reading)

Krzysztof Helt | 7 Sep 17:23

[PATCH] fix section mismatch in the sound_core

From: Krzysztof Helt <krzysztof.h1 <at> wp.pl>

The __exit cleanup_oss_soundcore() is called from 
the __init init_soundcore(). This causes section mismatch
and breaks kernel's linking on sparc64.

Remove the __exit attribute from the cleanup_oss_soundcore().

Signed-off-by: Krzysztof Helt <krzysztof.h1 <at> wp.pl>
---
Patch against 2.6.27-rc5-mm1.

diff -urp linux-ref/sound/sound_core.c linux-2.6.26/sound/sound_core.c
--- linux-ref/sound/sound_core.c	2008-09-07 18:54:22.800008536 -0400
+++ linux-2.6.26/sound/sound_core.c	2008-09-07 18:55:56.805521447 -0400
@@ -13,7 +13,7 @@

 #ifdef CONFIG_SOUND_OSS_CORE
 static int __init init_oss_soundcore(void);
-static void __exit cleanup_oss_soundcore(void);
+static void cleanup_oss_soundcore(void);
 #else
 static inline int init_oss_soundcore(void)	{ return 0; }
 static inline void cleanup_oss_soundcore(void)	{ }
@@ -573,7 +573,7 @@ int soundcore_open(struct inode *inode, 

 MODULE_ALIAS_CHARDEV_MAJOR(SOUND_MAJOR);

-static void __exit cleanup_oss_soundcore(void)
+static void cleanup_oss_soundcore(void)
(Continue reading)

[PATCH] ice1712 drivers coding style fixes (part 2)

I started with Takashi's sound-unstable tree as a base:
Fixed:
* ice1724 compilation error (one { too much)
* checkpatch errors along the files

sound/pci/ice1712/ak4xxx.c total: 1 errors, 3 warnings, 0 checks, 196
lines checked
sound/pci/ice1712/amp.h total: 0 errors, 0 warnings, 1 checks, 51 lines checked
sound/pci/ice1712/aureon.c total: 0 errors, 121 warnings, 3 checks,
2284 lines checked
sound/pci/ice1712/aureon.h total: 0 errors, 1 warnings, 0 checks, 65
lines checked
sound/pci/ice1712/delta.c total: 17 errors, 44 warnings, 1 checks, 817
lines checked
sound/pci/ice1712/delta.h total: 0 errors, 8 warnings, 0 checks, 153
lines checked
sound/pci/ice1712/envy24ht.h total: 0 errors, 21 warnings, 0 checks,
221 lines checked
sound/pci/ice1712/ews.c total: 27 errors, 64 warnings, 2 checks, 1087
lines checked
sound/pci/ice1712/ews.h total: 0 errors, 7 warnings, 0 checks, 86 lines checked
sound/pci/ice1712/hoontech.c total: 13 errors, 10 warnings, 1 checks,
360 lines checked
sound/pci/ice1712/hoontech.h total: 2 errors, 7 warnings, 0 checks, 77
lines checked
sound/pci/ice1712/ice1712.c total: 14 errors, 162 warnings, 3 checks,
2799 lines checked
sound/pci/ice1712/ice1712.h total: 0 errors, 22 warnings, 3 checks,
511 lines checked
sound/pci/ice1712/ice1724.c total: 11 errors, 62 warnings, 8 checks,
(Continue reading)

[PATCH] ice1712.c: fix coding style

before:
total: 113 errors, 169 warnings, 2786 lines checked
total: 26 errors, 24 warnings, 504 lines checked

after:
total: 14 errors, 163 warnings, 2799 lines checked
total: 0 errors, 24 warnings, 504 lines checked

Compile tested only.

Signed-off-by: Alexander Beregalov <a.beregalov <at> gmail.com>
---

 sound/pci/ice1712/ice1712.c |  237 +++++++++++++++++++++++--------------------
 sound/pci/ice1712/ice1712.h |   52 +++++-----
 2 files changed, 151 insertions(+), 138 deletions(-)

diff --git a/sound/pci/ice1712/ice1712.c b/sound/pci/ice1712/ice1712.c
index 05ffab6..5b44238 100644
--- a/sound/pci/ice1712/ice1712.c
+++ b/sound/pci/ice1712/ice1712.c
@@ -17,7 +17,7 @@
  *   along with this program; if not, write to the Free Software
  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  *
- */      
+ */

 /*
   NOTES:
(Continue reading)

[PATCH] ice1724.c: fix coding style

before:
total: 96 errors, 66 warnings, 2612 lines checked

after:
total: 11 errors, 64 warnings, 2624 lines checked

Compile tested only.

Signed-off-by: Alexander Beregalov <a.beregalov <at> gmail.com>
---

 sound/pci/ice1712/ice1724.c |  180 +++++++++++++++++++++++--------------------
 1 files changed, 96 insertions(+), 84 deletions(-)

diff --git a/sound/pci/ice1712/ice1724.c b/sound/pci/ice1712/ice1724.c
index 7bb99df..1b3f117 100644
--- a/sound/pci/ice1712/ice1724.c
+++ b/sound/pci/ice1712/ice1724.c
@@ -20,9 +20,9 @@
  *   along with this program; if not, write to the Free Software
  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  *
- */      
+ */

-#include <asm/io.h>
+#include <linux/io.h>
 #include <linux/delay.h>
 #include <linux/interrupt.h>
 #include <linux/init.h>
(Continue reading)

[PATCH] phase and juli coding style fixes (more coming up)

From my signoff:

From b4a282ae0d54087bc152571c250afcd57fa9fa38 Mon Sep 17 00:00:00 2001
From: Vedran Miletic <rivanvx <at> gmail.com>
Date: Sun, 7 Sep 2008 11:22:35 +0200
Subject: [PATCH] ALSA: ice1712/ice1724: Coding style fixes part 1
(more coming up)

Inspired by Alexander Beregalov's patches for wtm and aureon.c,
I decided to run checkpatch on some more files. After some work
checkpatch.pl-0.23 --no-tree --file --strict <file> reports
0 errors, 0 warnings, 0 checks, n lines checked for:
phase.c
phase.h
juli.c (1 check about unused code, maybe we should comment it)
juli.h (no changes necessary)
In other files I have just fixed // comments and long lines along the
way (but not all of them), more coming up.

Signed-off-by: Vedran Miletic <rivanvx <at> gmail.com>

Patch is attached.

--

-- 
Vedran Miletić
_______________________________________________
Alsa-devel mailing list
(Continue reading)

sakoman | 7 Sep 08:38

[PATCH 0/5] ARM: OMAP2: Add support for GUmstix Overo (rev 3)

This patch series adds support for the Gumstix Overo board.

This is the third submission and incorporates all previous feedback from both linux-omap and alsa-devel. 
Careful readers will also notice that this version includes nand support rather than onenand.
Kory Prince | 7 Sep 06:22

HP tx2000 and snd-hda-intel

Note:
The other message did not go through because it was too big.
I can email the schematics I mentioned if anyone is interested

**************************************************************

Hello,

I have an HP Pavillion TX2000z.
This laptop has uses the snd-hda-intel and has the ALC861VD realtek
codec. 
The existing configuration for the codec does not support the tx2000
series laptops fully.

There are several configurations that have various levels of support.

If you specify for the model to use the existing hp model (made for the
tx1000 series) then:

1.Headphones Work
2.Speakers Work
3.Front Mic Works (the jack mic by the headphone jack)
4.The External Mics do not work (There are two mics at the top of the
laptop... I am guessing left and right for a stereo Mic)
5.It seems like there is something mapped to an input that does not
belong there. The simplest way to explain this is when I open audacity
and set it to monitor input that there is significant white noise coming
in. The Ext. Mics are not working so it can't come from there (as far as
I know) and I have nothing plugged into the front Mic. I cannot find any
way to mute this noise.
(Continue reading)

[PATCH] ice1712/wtm: fix coding style

before:
total: 2 errors, 0 warnings, 20 lines checked
total: 49 errors, 2 warnings, 518 lines checked

after:
total: 0 errors, 0 warnings, 20 lines checked
total: 0 errors, 0 warnings, 518 lines checked

Compile tested, size and code are equal.

Signed-off-by: Alexander Beregalov <a.beregalov <at> gmail.com>
---

 sound/pci/ice1712/wtm.c |  104 +++++++++++++++++++++++-----------------------
 sound/pci/ice1712/wtm.h |    4 +-
 2 files changed, 54 insertions(+), 54 deletions(-)

diff --git a/sound/pci/ice1712/wtm.c b/sound/pci/ice1712/wtm.c
index a08d17c..5af9e84 100644
--- a/sound/pci/ice1712/wtm.c
+++ b/sound/pci/ice1712/wtm.c
@@ -1,12 +1,12 @@
 /*
  *	ALSA driver for ICEnsemble VT1724 (Envy24HT)
- *	
+ *
  *	Lowlevel functions for Ego Sys Waveterminal 192M
  *
  *		Copyright (c) 2006 Guedez Clement <klem.dev <at> gmail.com>
  *		Some functions are taken from the Prodigy192 driver
(Continue reading)

[PATCH] ice1712/aureon.c: fix coding style

before:
total: 304 errors, 137 warnings, 2259 lines checked

after:
total: 0 errors, 121 warnings, 2284 lines checked

Compile tested, size is different because of include was changed,
but without that change md5sum is different because of cmp cx,dx/cmp
dx,cx swap and __LINE__ was changed in printk function. 

Signed-off-by: Alexander Beregalov <a.beregalov <at> gmail.com>
---

 sound/pci/ice1712/aureon.c |  677 +++++++++++++++++++++++---------------------
 1 files changed, 351 insertions(+), 326 deletions(-)

diff --git a/sound/pci/ice1712/aureon.c b/sound/pci/ice1712/aureon.c
index a137fc1..110d16e 100644
--- a/sound/pci/ice1712/aureon.c
+++ b/sound/pci/ice1712/aureon.c
@@ -44,10 +44,9 @@
  *       not working: prety much everything else, at least i could verify that
  *                    we have no digital output, no capture, pretty bad clicks and poops
  *                    on mixer switch and other coll stuff.
- *
- */      
+ */

-#include <asm/io.h>
+#include <linux/io.h>
(Continue reading)


Gmane