diff options
author | Nitin Pai <npai@nvidia.com> | 2012-06-28 14:20:50 +0530 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2012-07-19 09:17:46 -0700 |
commit | 0245741903a5b16a27cb30ad09bb9fada84f1eca (patch) | |
tree | 24a393b006dca3b1b7e9ef768f445c71dc8c763e /arch | |
parent | 76f95d32ab167e70601904c50d2595de0e955f1d (diff) |
arm: tegra: p1852: Make TDM1 as 16 channels
Made TDM1 as 16 channels so that both devices
work in the same configuration.
Bug 1008391
Signed-off-by: Nitin Pai <npai@nvidia.com>
Reviewed-on: http://git-master/r/112090
(cherry picked from commit 4d042a0e613ba1c2d715d6ed47daddd61be14a28)
Change-Id: I622b046b3b36147b82d47f612febb7ae7ba0767c
Reviewed-on: http://git-master/r/116059
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/board-p1852.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/board-p1852.c b/arch/arm/mach-tegra/board-p1852.c index c195f0f4ca5a..008b8ad0aac5 100644 --- a/arch/arm/mach-tegra/board-p1852.c +++ b/arch/arm/mach-tegra/board-p1852.c @@ -209,11 +209,15 @@ static struct tegra_p1852_platform_data p1852_audio_tdm_pdata = { .name = "tegra-i2s-1", .pcm_driver = "tegra-tdm-pcm-audio", .i2s_format = format_tdm, + /* Defines whether the Codec Chip is Master or Slave */ .master = 1, - .num_slots = 4, + /* Defines the number of TDM slots */ + .num_slots = 8, + /* Defines the width of each slot */ .slot_width = 32, - .tx_mask = 0x0f, - .rx_mask = 0x0f, + /* Defines which slots are enabled */ + .tx_mask = 0xff, + .rx_mask = 0xff, }, .codec_info[1] = { .codec_dai_name = "dit-hifi", |