Skip to contentSkip to conversation

ASoC patch on top of linux-omap 2.6.29-rc1 (TWL4030 related)

PATCH In review Peter Ujfalusi 3 participants 5 messages Jan 16, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover ASoC patch on top of linux-omap 2.6.29-rc1 (TWL4030 related)

Hello,

This patch has been sent after 29-rc1 to ALSA devel, it is already in Takashi's tree and will go upstream as soon as possible.

Somehow I have left out this from the soc_value_enum type merge to the soc_enum series, which kind of renders the twl4030 codec driver to not to update the value_enum types. In other words: without this patch the twl4030 codec is not working.

The patch applies cleanly to the head of linux-omap tree.

---
Peter Ujfalusi (1):
ASoC: Fix the power update function for snd_soc_dapm_value_mux

 sound/soc/soc-dapm.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
#1 lore raw

PATCH 1/1 ASoC: Fix the power update function for snd_soc_dapm_value_mux

Modify the check for the mux type to also handle the snd_soc_dapm_value_mux type in a same way as the snd_soc_dapm_mux.

---
 sound/soc/soc-dapm.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
sound/soc/soc-dapm.c +2 -1
index 493a4e8..a2f1da8 100644
@@ -720,7 +720,8 @@ static int dapm_mux_update_power(struct snd_soc_dapm_widget *widget,
 	struct snd_soc_dapm_path *path;
 	int found = 0;
 
-	if (widget->id != snd_soc_dapm_mux)
+	if (widget->id != snd_soc_dapm_mux &&
+	    widget->id != snd_soc_dapm_value_mux)
 		return -ENODEV;
 
 	if (!snd_soc_test_bits(widget->codec, e->reg, mask, val))
Signature · 1 line
1.6.1
#2 lore raw
In reply to Peter Ujfalusi

Hmm, should I take the patch from Takashi's tree (with his sign-off) and resend it?
This patch is the one that I have sent to alsa-devel...

Signature · 1 line
Péter
Quoted 10 lines · On Friday 16 January 2009 08:14:52 Peter Ujfalusi wrote:

Hello,

This patch has been sent after 29-rc1 to ALSA devel, it is already in Takashi's tree and will go upstream as soon as possible.

Somehow I have left out this from the soc_value_enum type merge to the soc_enum series, which kind of renders the twl4030 codec driver to not to update the value_enum types. In other words: without this patch the twl4030 codec is not working.

Quoted 8 lines

The patch applies cleanly to the head of linux-omap tree.

---
Peter Ujfalusi (1):
ASoC: Fix the power update function for snd_soc_dapm_value_mux

 sound/soc/soc-dapm.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 3 lines · Peter Ujfalusi

Hmm, should I take the patch from Takashi's tree (with his sign-off) and resend it?
This patch is the one that I have sent to alsa-devel...

In general that would be best, as then I know it's been acked and on it's way to the mainline kernel via alsa already. Meaning it's safe for me to apply to linux-omap without increasing the diff to mainline kernel.

Tony

Quoted 28 lines
Signature · 2 lines
-- 
Péter
Quoted 10 lines · On Friday 16 January 2009 08:14:52 Peter Ujfalusi wrote:

Hello,

This patch has been sent after 29-rc1 to ALSA devel, it is already in Takashi's tree and will go upstream as soon as possible.

Somehow I have left out this from the soc_value_enum type merge to the soc_enum series, which kind of renders the twl4030 codec driver to not to update the value_enum types. In other words: without this patch the twl4030 codec is not working.

Quoted 8 lines

The patch applies cleanly to the head of linux-omap tree.

---
Peter Ujfalusi (1):
ASoC: Fix the power update function for snd_soc_dapm_value_mux

 sound/soc/soc-dapm.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 4 lines · Tony Lindgren

In general that would be best, as then I know it's been acked and on it's way to the mainline kernel via alsa already. Meaning it's safe for me to apply to linux-omap without increasing the diff to mainline kernel.

Linus has already merged it, FWIW.