summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorXavier Boudet <x-boudet@ti.com>2012-04-27 17:14:38 +0200
committerXavier Boudet <x-boudet@ti.com>2012-09-10 14:50:23 +0200
commit10b9e891744bae6d47337186b0d01c06cc74daa9 (patch)
tree05b820f55649f373c2192e93cfe52b92e8d7a84c /include
parentf0b6c051ed9b10fff9ba45ab6428c644cd16d315 (diff)
UBUNTU: Revert "ASoC: dapm: Remove SND_SOC_DAPM_MICBIAS_E()"
This reverts commit 5fc9aced13ae4bca67408816908be75684c1e7ba.
Diffstat (limited to 'include')
-rw-r--r--include/sound/soc-dapm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h
index a61d0ba1da68..07d9dc9d5410 100644
--- a/include/sound/soc-dapm.h
+++ b/include/sound/soc-dapm.h
@@ -141,6 +141,10 @@ struct device;
{ .id = snd_soc_dapm_mixer, .name = wname, .reg = wreg, .shift = wshift, \
.invert = winvert, .kcontrol_news = wcontrols, \
.num_kcontrols = wncontrols, .event = wevent, .event_flags = wflags}
+#define SND_SOC_DAPM_MICBIAS_E(wname, wreg, wshift, winvert, wevent, wflags) \
+{ .id = snd_soc_dapm_micbias, .name = wname, .reg = wreg, .shift = wshift, \
+ .invert = winvert, .kcontrol_news = NULL, .num_kcontrols = 0, \
+ .event = wevent, .event_flags = wflags}
#define SND_SOC_DAPM_SWITCH_E(wname, wreg, wshift, winvert, wcontrols, \
wevent, wflags) \
{ .id = snd_soc_dapm_switch, .name = wname, .reg = wreg, .shift = wshift, \