projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9eeae9
)
ASoC: 88pm860x: Use SND_SOC_DAPM_PGA_E() instead of open-coding it
author
Lars-Peter Clausen
<lars@metafoo.de>
Wed, 19 Jun 2013 17:34:03 +0000
(19:34 +0200)
committer
Mark Brown
<broonie@linaro.org>
Wed, 19 Jun 2013 18:47:57 +0000
(19:47 +0100)
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/88pm860x-codec.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/88pm860x-codec.c
b/sound/soc/codecs/88pm860x-codec.c
index 60159c07448da792e62e8e68f61e7d48d7ec04a4..e2bd3dd02c0e087d9da76c670a723aff646813e5 100644
(file)
--- a/
sound/soc/codecs/88pm860x-codec.c
+++ b/
sound/soc/codecs/88pm860x-codec.c
@@
-120,10
+120,8
@@
* before DAC & PGA in DAPM power-off sequence.
*/
#define PM860X_DAPM_OUTPUT(wname, wevent) \
-{ .id = snd_soc_dapm_pga, .name = wname, .reg = SND_SOC_NOPM, \
- .shift = 0, .invert = 0, .kcontrol_news = NULL, \
- .num_kcontrols = 0, .event = wevent, \
- .event_flags = SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_POST_PMD, }
+ SND_SOC_DAPM_PGA_E(wname, SND_SOC_NOPM, 0, 0, NULL, 0, wevent, \
+ SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_POST_PMD)
struct pm860x_det {
struct snd_soc_jack *hp_jack;