summaryrefslogtreecommitdiffstats
path: root/sound/soc/tegra/tegra20_i2s.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2013-02-15 17:07:35 -0700
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-04 11:22:23 +0800
commit8f5f5e0f459d37273f841e3f8da38b4e242c8e94 (patch)
tree6b336a1dffc748e97393cdbff60c2621e20d4cfb /sound/soc/tegra/tegra20_i2s.h
parentbd85a06c2b81d9947426d48125ee7a96a6c67e3c (diff)
downloadblackbird-op-linux-8f5f5e0f459d37273f841e3f8da38b4e242c8e94.tar.gz
blackbird-op-linux-8f5f5e0f459d37273f841e3f8da38b4e242c8e94.zip
ASoC: tegra_wm8903: assume CONFIG_OF, remove platform data
Tegra only supports, and always enables, device tree. Remove all runtime checks for DT support from the driver. This allows removal of the hard-coded Harmony ASoC mapping table, since Harmony only boots with DT now. All board-specific configuration now comes from device tree, so there is no need to have a platform_data structure. Rework the driver to parse the device tree directly into struct tegra_wm8903. Also some slight re-ordering of probe() so that the code more closely resembles other drivers for easier comparison. Inparticular, the GPIO DT parsing and initial programming are moved together for each GPIO. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/tegra/tegra20_i2s.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud