ARM: tegra: enterprise: set I2S as slave mode.
Ankit Gupta [Mon, 13 Aug 2012 06:44:51 +0000 (11:44 +0530)]
Setting default I2S mode as slave. This will help in power
optimization of around 4mW.

Change-Id: Ic2d702c332283bd0f6c4f73615e8097fb3b16ef9
Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com>
Reviewed-on: http://git-master/r/122943
(cherry picked from commit 14e3dc4ad30637bf2fd12cff78397b9f3d50198c)
Reviewed-on: http://git-master/r/125181
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chandrakanth Gorantla <cgorantla@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

arch/arm/mach-tegra/board-enterprise.c

index 2675f0f..7f2cf39 100644 (file)
@@ -514,7 +514,7 @@ static struct tegra_asoc_platform_data enterprise_audio_pdata = {
        /*defaults for Enterprise board*/
        .i2s_param[HIFI_CODEC]  = {
                .audio_port_id  = 0,
-               .is_i2s_master  = 1,
+               .is_i2s_master  = 0,
                .i2s_mode       = TEGRA_DAIFMT_I2S,
                .sample_size    = 16,
        },