[ARM] tegra_i2s_audio: add support for master/slave switching
authorChris Fries <C.Fries@motorola.com>
Wed, 3 Nov 2010 17:45:26 +0000 (12:45 -0500)
committerIliyan Malchev <malchev@google.com>
Wed, 3 Nov 2010 20:05:04 +0000 (13:05 -0700)
commite8d9abdf7b8878740e73a13ba084c39a24967da2
treee8fbbd4e9a968fbe78e55c4b9c683a38a2794e6c
parent47e55a567c42ccc20b289875e51fbc64afa578b6
[ARM] tegra_i2s_audio: add support for master/slave switching

- Remove duplicate code between probe() and resume(), make new function
  i2s_configure()
- When master, pass the sample rate from the board info
- Clean up some checkpatch.pl complaints.

Change-Id: I0169d9a70c02eaf2173b1f1941a545792c01bc6b
Signed-off-by: Iliyan Malchev <malchev@google.com>
arch/arm/mach-tegra/include/mach/audio.h
arch/arm/mach-tegra/tegra_i2s_audio.c