ARM: tegra11: pluto: Add HiFi sample rate for AIC3262 Codec
Vijay Mali [Mon, 28 Jan 2013 06:13:31 +0000 (11:13 +0530)]
Add sample rate in HiFi port configuration for AIC3262 codec.
Initilization of sample rate is required to avoid reading wrong
sample rate of HiFi port during voice call recording case.

Bug 1179798

Change-Id: I3cec8cc071ba64c93e885aecf0db949ab3f836a6
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/194518
(cherry picked from commit 3bff3f4ceea4493f7bbf009d666adcd7d17eff24)

Signed-off-by: Vijay Mali <vmali@nvidia.com>
Change-Id: Idddb9ff1400d8e47b663809f7af4610910fe2fa3
Reviewed-on: http://git-master/r/196414
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

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

index 9e9ed1f..a27e4f1 100644 (file)
@@ -495,7 +495,8 @@ static struct tegra_asoc_platform_data pluto_aic3262_pdata = {
                .is_i2s_master  = 1,
                .i2s_mode       = TEGRA_DAIFMT_I2S,
                .sample_size    = 16,
-               .channels       = 2,
+               .rate           = 48000,
+               .channels       = 2,
        },
        .i2s_param[BASEBAND]    = {
                .audio_port_id  = 2,