summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/msm_stub.c
diff options
context:
space:
mode:
authorDamir Didjusto <damird@codeaurora.org>2013-06-17 20:55:53 -0700
committerStephen Boyd <sboyd@codeaurora.org>2013-09-04 17:06:24 -0700
commitbb8d72772053130e43ad07bb16496ff46659665d (patch)
tree54790fbbc771f748e46f1faa083b4395a37179aa /sound/soc/codecs/msm_stub.c
parent443f19e1babbe1e1594425e3f20eec8b788578ea (diff)
ASoC: msm: Add 24 bit support to Primary MI2S TX
Add 24 bit support to Primary MI2S Tx. Add capability to specify bits per sample to DSP. Change-Id: I928f37c7b76ffea735365b164d52ceabd88e77e6 Signed-off-by: Damir Didjusto <damird@codeaurora.org>
Diffstat (limited to 'sound/soc/codecs/msm_stub.c')
-rw-r--r--sound/soc/codecs/msm_stub.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/soc/codecs/msm_stub.c b/sound/soc/codecs/msm_stub.c
index b50b4ac7bc6c..c2b5cc4a0465 100644
--- a/sound/soc/codecs/msm_stub.c
+++ b/sound/soc/codecs/msm_stub.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2011-2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -36,7 +36,8 @@ static struct snd_soc_dai_driver msm_stub_dais[] = {
.channels_min = 1,
.channels_max = 8,
.rates = SNDRV_PCM_RATE_8000_48000,
- .formats = SNDRV_PCM_FMTBIT_S16_LE,
+ .formats = (SNDRV_PCM_FMTBIT_S16_LE |
+ SNDRV_PCM_FMTBIT_S24_LE),
},
},
};