summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorLee Min <min47.lee@samsung.com>2011-08-18 14:04:26 -0700
committerSimon Wilson <simonwilson@google.com>2011-08-25 09:32:45 -0700
commit2fc3f3247f9e993ca0b965db5846598b151cb4f3 (patch)
tree3229eeb9f8d7f8ec2730308ab90b3f9a9b08dfc9 /audio
parentadd39f5fd253f7de26b6604dbf815de8846e90fb (diff)
downloaddevice_samsung_tuna-2fc3f3247f9e993ca0b965db5846598b151cb4f3.zip
device_samsung_tuna-2fc3f3247f9e993ca0b965db5846598b151cb4f3.tar.gz
device_samsung_tuna-2fc3f3247f9e993ca0b965db5846598b151cb4f3.tar.bz2
audio: change pcm_config_vx channel from 1 to 2
Actually, modem and bluetooth devices in tuna use I2S mode. If channel is setted 1, McBSP is setted PCM mode. On the other hand, if channel is setted 2, McBSP is setted I2S mode. To use I2S mode, We have to change channel from 1 to 2. Change-Id: I0c56ffd03805060783c428b4c70094103480bb4f Signed-off-by: Lee Min <min47.lee@samsung.com>
Diffstat (limited to 'audio')
-rw-r--r--audio/audio_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c
index c22c29f..306ac0c 100644
--- a/audio/audio_hw.c
+++ b/audio/audio_hw.c
@@ -115,7 +115,7 @@ struct pcm_config pcm_config_mm = {
};
struct pcm_config pcm_config_vx = {
- .channels = 1,
+ .channels = 2,
.rate = 8000,
.period_size = 160,
.period_count = 2,