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
commit3772f57d8332e7b2113bd35cd297b8fe00d20d15 (patch)
treefa38149acbeb4061fb2e9af645fbe9a2d803f0e5 /audio
parent40169f1a3282fa58399bf5f43cce2a8801feae99 (diff)
downloaddevice_samsung_tuna-3772f57d8332e7b2113bd35cd297b8fe00d20d15.zip
device_samsung_tuna-3772f57d8332e7b2113bd35cd297b8fe00d20d15.tar.gz
device_samsung_tuna-3772f57d8332e7b2113bd35cd297b8fe00d20d15.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,