From: apatard@mandriva.com
To: alsa-devel@alsa-project.org
Cc: nico@fluxnic.net, broonie@opensource.wolfsonmicro.com,
saeed@marvell.com, Arnaud Patard <apatard@mandriva.com>,
tbm@cyrius.com, linux-arm-kernel@lists.infradead.org,
lrg@slimlogic.co.uk
Subject: [patch 3/6] soc-dapm.h: add SND_SOC_DAPM_PRE_POST_PMD event
Date: Thu, 27 May 2010 14:57:40 +0200 [thread overview]
Message-ID: <20100527130338.487101110@mandriva.com> (raw)
In-Reply-To: 20100527125737.524554667@mandriva.com
[-- Attachment #1: add_dapm_pre_port_pmd.patch --]
[-- Type: text/plain, Size: 853 bytes --]
Some systems codecs need to configure some registers before and after powering down
some of their part. As a convenience, I'm adding a macro for that.
Signed-off-by: Arnaud Patard <apatard@mandriva.com>
Index: sound-2.6/include/sound/soc-dapm.h
===================================================================
--- sound-2.6.orig/include/sound/soc-dapm.h 2010-05-27 14:09:32.932174265 +0200
+++ sound-2.6/include/sound/soc-dapm.h 2010-05-27 14:09:47.536194064 +0200
@@ -273,6 +273,8 @@
#define SND_SOC_DAPM_POST_PMD 0x8 /* after widget power down */
#define SND_SOC_DAPM_PRE_REG 0x10 /* before audio path setup */
#define SND_SOC_DAPM_POST_REG 0x20 /* after audio path setup */
+#define SND_SOC_DAPM_PRE_POST_PMD \
+ (SND_SOC_DAPM_PRE_PMD | SND_SOC_DAPM_POST_PMD)
/* convenience event type detection */
#define SND_SOC_DAPM_EVENT_ON(e) \
WARNING: multiple messages have this Message-ID (diff)
From: apatard@mandriva.com (apatard at mandriva.com)
To: linux-arm-kernel@lists.infradead.org
Subject: [patch 3/6] soc-dapm.h: add SND_SOC_DAPM_PRE_POST_PMD event
Date: Thu, 27 May 2010 14:57:40 +0200 [thread overview]
Message-ID: <20100527130338.487101110@mandriva.com> (raw)
In-Reply-To: 20100527125737.524554667@mandriva.com
An embedded and charset-unspecified text was scrubbed...
Name: add_dapm_pre_port_pmd.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100527/ed9cb853/attachment.el>
next prev parent reply other threads:[~2010-05-27 13:03 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-27 12:57 [patch 0/6] kirkwood openrd client audio support - v4 apatard
2010-05-27 12:57 ` apatard at mandriva.com
2010-05-27 12:57 ` [patch 1/6] orion/kirkwood: add audio functions apatard
2010-05-27 12:57 ` apatard at mandriva.com
2010-05-30 20:16 ` Nicolas Pitre
2010-05-30 20:16 ` Nicolas Pitre
2010-05-31 11:14 ` Mark Brown
2010-05-31 11:14 ` Mark Brown
2010-05-31 11:49 ` [patch 0/4] " apatard
2010-05-31 11:49 ` apatard at mandriva.com
2010-05-31 11:49 ` [patch 1/4] " apatard
2010-05-31 11:49 ` apatard at mandriva.com
2010-05-31 12:17 ` Mark Brown
2010-05-31 12:17 ` Mark Brown
2010-05-31 11:49 ` [patch 2/4] openrd-client: initialise audio apatard
2010-05-31 11:49 ` apatard at mandriva.com
2010-05-31 11:49 ` [patch 3/4] kirkwood: Add i2s support apatard
2010-05-31 11:49 ` apatard at mandriva.com
2010-05-31 11:49 ` [patch 4/4] kirkwood: Add audio support to openrd client platforms apatard
2010-05-31 11:49 ` apatard at mandriva.com
2010-05-27 12:57 ` [patch 2/6] openrd-client: initialise audio apatard
2010-05-27 12:57 ` apatard at mandriva.com
2010-05-27 12:57 ` apatard [this message]
2010-05-27 12:57 ` [patch 3/6] soc-dapm.h: add SND_SOC_DAPM_PRE_POST_PMD event apatard at mandriva.com
2010-05-31 11:20 ` Mark Brown
2010-05-31 11:20 ` Mark Brown
2010-05-27 12:57 ` [patch 4/6] cs42l51: add asoc driver apatard
2010-05-27 12:57 ` apatard at mandriva.com
2010-05-31 11:20 ` Mark Brown
2010-05-31 11:20 ` Mark Brown
2010-05-27 12:57 ` [patch 5/6] kirkwood: Add i2s support apatard
2010-05-27 12:57 ` apatard at mandriva.com
2010-05-27 12:57 ` [patch 6/6] kirkwood: Add audio support to openrd client platforms apatard
2010-05-27 12:57 ` apatard at mandriva.com
2010-05-30 20:44 ` [patch 0/6] kirkwood openrd client audio support - v4 Nicolas Pitre
2010-05-30 20:44 ` Nicolas Pitre
2010-05-31 10:15 ` Liam Girdwood
2010-05-31 10:15 ` [alsa-devel] " Liam Girdwood
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100527130338.487101110@mandriva.com \
--to=apatard@mandriva.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=lrg@slimlogic.co.uk \
--cc=nico@fluxnic.net \
--cc=saeed@marvell.com \
--cc=tbm@cyrius.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.