aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/omap/abe/abe_def.h
diff options
context:
space:
mode:
authorVipulkumar Paladiya <vipul-p@ti.com>2011-09-01 14:27:27 -0500
committerSimon Wilson <simonwilson@google.com>2011-09-02 15:34:27 -0700
commit86c248577618fee8d10bee8713a1e720c97fa604 (patch)
treef7921bbae288a63549407eaddf99a944594632db /sound/soc/omap/abe/abe_def.h
parent4a90962959412904d19071ebd0f08667d6381cd1 (diff)
downloadkernel_samsung_tuna-86c248577618fee8d10bee8713a1e720c97fa604.zip
kernel_samsung_tuna-86c248577618fee8d10bee8713a1e720c97fa604.tar.gz
kernel_samsung_tuna-86c248577618fee8d10bee8713a1e720c97fa604.tar.bz2
ASoC: ABE: Set DL1/DL2 gains to -7dB for PDM links
There is gain of around 7dB in the PDM DAC path within the codec. This patch does -7dB attenuation which will give net 0dB gain. Change-Id: I13f4842559da688980b8478d59ac4c97cc3908a3 Signed-off-by: Vipulkumar Paladiya <vipul-p@ti.com> Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Diffstat (limited to 'sound/soc/omap/abe/abe_def.h')
-rw-r--r--sound/soc/omap/abe/abe_def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/omap/abe/abe_def.h b/sound/soc/omap/abe/abe_def.h
index ac1d263..0051bab 100644
--- a/sound/soc/omap/abe/abe_def.h
+++ b/sound/soc/omap/abe/abe_def.h
@@ -233,6 +233,7 @@
/* default gain = 1 */
#define GAIN_0dB 0L
#define GAIN_M6dB -600L
+#define GAIN_M7dB -700L
#define GAIN_M12dB -1200L
#define GAIN_M18dB -1800L
#define GAIN_M24dB -2400L