summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-cardhu.c
diff options
context:
space:
mode:
authorNikesh Oswal <noswal@nvidia.com>2012-03-14 21:46:03 +0530
committerSimone Willett <swillett@nvidia.com>2012-03-23 14:00:58 -0700
commit614b614532b85dde69ccb798c120b1c658c62fc7 (patch)
treef7685799667756188fce7e4f0eb9424ae7727063 /arch/arm/mach-tegra/board-cardhu.c
parentc7b93d42d9943b40774d9f3405f89dd74740e2ee (diff)
ARM: tegra: cardhu: add port id's for BT and HIFI
add port id's for BT and HIFI and also disable(-1) the port id for Baseband as Cardhu does not have a Baseband Change-Id: I16914ce95c2153cd36691b1ef462d387e39d3fa5 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/90121 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-cardhu.c')
-rw-r--r--arch/arm/mach-tegra/board-cardhu.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu.c b/arch/arm/mach-tegra/board-cardhu.c
index 6a0883c0734d..4e1d3060bc45 100644
--- a/arch/arm/mach-tegra/board-cardhu.c
+++ b/arch/arm/mach-tegra/board-cardhu.c
@@ -691,6 +691,16 @@ static struct tegra_asoc_platform_data cardhu_audio_aic326x_pdata = {
.gpio_hp_mute = -1,
.gpio_int_mic_en = -1,
.gpio_ext_mic_en = -1,
+ /*defaults for Verbier-Cardhu board with TI AIC326X codec*/
+ .audio_port_id = {
+ [HIFI_CODEC] = 0,
+ [BASEBAND] = -1,
+ [BT_SCO] = 3,
+ },
+ .baseband_param = {
+ .rate = -1,
+ .channels = -1,
+ },
};
static struct platform_device cardhu_audio_aic326x_device = {