ARM: tegra: harmony: Set WM8903 gpio_base
authorStephen Warren <swarren@nvidia.com>
Sat, 5 Mar 2011 05:42:32 +0000 (22:42 -0700)
committerOlof Johansson <olof@lixom.net>
Mon, 7 Mar 2011 23:44:33 +0000 (15:44 -0800)
This is the final patch to enable audio support on Harmony. It additionally
relies on the latest ASoC branch being merged in, which provides the header
defining the gpio_base field in the WM8903 platform data.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-tegra/board-harmony.c

index 82c7803..e7c2fea 100644 (file)
@@ -102,6 +102,7 @@ static struct wm8903_platform_data harmony_wm8903_pdata = {
        .irq_active_low = 0,
        .micdet_cfg = 0,
        .micdet_delay = 100,
+       .gpio_base = HARMONY_GPIO_WM8903(0),
        .gpio_cfg = {
                WM8903_GPIO_NO_CONFIG,
                WM8903_GPIO_NO_CONFIG,