summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-09-15 07:33:08 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-09-15 07:33:08 -0700
commitab41a65b0838a90eb9ebb18dcbb9a44e4ecb727f (patch)
treef59979bdd2281a662a5538f46a1a7e310d8f2d42
parent444860e8909090214795751a72559f87afb3a4be (diff)
parent97217c9a2cad227c4e6ee8cc6d3c818282d020dc (diff)
Merge "ASoC: msm: qdsp6v2: Enable support for multichannel tunnel USB"
-rw-r--r--sound/soc/msm/msmcobalt.c4
-rw-r--r--sound/soc/msm/qdsp6v2/msm-dai-q6-v2.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/sound/soc/msm/msmcobalt.c b/sound/soc/msm/msmcobalt.c
index 523cd1ce4140..b58564b7de89 100644
--- a/sound/soc/msm/msmcobalt.c
+++ b/sound/soc/msm/msmcobalt.c
@@ -191,7 +191,9 @@ static char const *slim_sample_rate_text[] = {"KHZ_8", "KHZ_16",
"KHZ_88P2", "KHZ_96", "KHZ_176P4",
"KHZ_192", "KHZ_352P8", "KHZ_384"};
static char const *bt_sample_rate_text[] = {"KHZ_8", "KHZ_16", "KHZ_48"};
-static const char *const usb_ch_text[] = {"One", "Two"};
+static const char *const usb_ch_text[] = {"One", "Two", "Three", "Four",
+ "Five", "Six", "Seven",
+ "Eight"};
static char const *ch_text[] = {"Two", "Three", "Four", "Five",
"Six", "Seven", "Eight"};
static char const *usb_sample_rate_text[] = {"KHZ_8", "KHZ_11P025",
diff --git a/sound/soc/msm/qdsp6v2/msm-dai-q6-v2.c b/sound/soc/msm/qdsp6v2/msm-dai-q6-v2.c
index a898532643ae..5fa3b6fb0885 100644
--- a/sound/soc/msm/qdsp6v2/msm-dai-q6-v2.c
+++ b/sound/soc/msm/qdsp6v2/msm-dai-q6-v2.c
@@ -2502,7 +2502,7 @@ static struct snd_soc_dai_driver msm_dai_q6_usb_rx_dai = {
SNDRV_PCM_RATE_192000,
.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE,
.channels_min = 1,
- .channels_max = 2,
+ .channels_max = 8,
.rate_max = 192000,
.rate_min = 8000,
},
@@ -2523,7 +2523,7 @@ static struct snd_soc_dai_driver msm_dai_q6_usb_tx_dai = {
SNDRV_PCM_RATE_192000,
.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE,
.channels_min = 1,
- .channels_max = 2,
+ .channels_max = 8,
.rate_max = 192000,
.rate_min = 8000,
},