From a0f6c3ccf78c03c82727270f70598ec94d666ab0 Mon Sep 17 00:00:00 2001 From: Iliyan Malchev Date: Wed, 20 Oct 2010 15:18:12 -0700 Subject: [PATCH] [ARM] tegra: stingray: configure tx/rx for i2s.0 and i2s.1 -- configure i2s.0 only for playback -- configure i2s.1 for both playback and recording Signed-off-by: Iliyan Malchev --- arch/arm/mach-tegra/board-stingray.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-tegra/board-stingray.c b/arch/arm/mach-tegra/board-stingray.c index ccb321f4b575..58cbaca8a203 100644 --- a/arch/arm/mach-tegra/board-stingray.c +++ b/arch/arm/mach-tegra/board-stingray.c @@ -282,6 +282,7 @@ static struct tegra_audio_platform_data tegra_audio_pdata = { .bit_size = I2S_BIT_SIZE_16, .i2s_bus_width = 32, /* Using Packed 16 bit data, the dma is 32 bit. */ .dsp_bus_width = 16, /* When using DSP mode (unused), this should be 16 bit. */ + .mask = TEGRA_AUDIO_ENABLE_TX, }; /* Connected to CPCAP CODEC - Switchable to Bluetooth Audio. */ @@ -296,6 +297,7 @@ static struct tegra_audio_platform_data tegra_audio2_pdata = { .bit_size = I2S_BIT_SIZE_16, .i2s_bus_width = 16, /* Capturing a single timeslot, mono 16 bits */ .dsp_bus_width = 16, + .mask = TEGRA_AUDIO_ENABLE_TX | TEGRA_AUDIO_ENABLE_RX, }; static char *usb_functions_mtp[] = { "mtp" }; -- 2.34.1