summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/ab8500_audio.h
diff options
context:
space:
mode:
authorJohan Bohlin <johan.bohlin@stericsson.com>2012-02-21 14:05:33 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:05:06 +0200
commit85d6cc09d321f313f4c10bb0011b76475cf7e407 (patch)
tree3f0d7e8e598cb75b7e17c2d5e1863c274cd60aa7 /sound/soc/codecs/ab8500_audio.h
parentb6b7e8e064cfd15b9358de9a61160d609b830bc4 (diff)
ASoC: Ux500: Adds d2d support for linein to headset & speaker
Adds support for device to device connections between linein to headset and linein to speaker. This modification required that some playback and capture switches needed to be removed, therefore to make it homogenous all input/output playback/capture switches were removed. ST-Ericsson ID: 358725 ST-Ericsson Linux next: Not tested ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I9bbd795b3fba76d6f008a07436bcb4c5c5d6e804 Signed-off-by: Johan Bohlin <johan.bohlin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/50085 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: QABUILD Reviewed-by: QATEST Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com>
Diffstat (limited to 'sound/soc/codecs/ab8500_audio.h')
-rw-r--r--sound/soc/codecs/ab8500_audio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/ab8500_audio.h b/sound/soc/codecs/ab8500_audio.h
index bfc1c01e5fc..c506f8d1e3c 100644
--- a/sound/soc/codecs/ab8500_audio.h
+++ b/sound/soc/codecs/ab8500_audio.h
@@ -22,6 +22,8 @@
extern struct snd_soc_dai_driver ab8500_codec_dai[];
extern struct snd_soc_codec_driver soc_codec_dev_ab8500;
+#define LINEIN_RAMP_DELAY 50
+
/* Extended interface for codec-driver */
int ab8500_audio_power_control(bool power_on);