summaryrefslogtreecommitdiff
path: root/sound/soc
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2012-10-01 15:11:58 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2012-10-01 15:11:58 +0200
commit1131c813c0a7712d00e9a574dfe2a1dd554a6989 (patch)
tree82abb049fc2c493eee3bfb340ff6de84744d4838 /sound/soc
parentb8c1286a015fb6927f12cecb2aa8aabe383f10fe (diff)
asoc: tegra20_ac97: remove tegra_gpio_enb/disable
Removing tegra_gpio_enable and disable calls as they are supported through set direction calls in the driver.
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/tegra/tegra20_ac97.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/tegra/tegra20_ac97.c b/sound/soc/tegra/tegra20_ac97.c
index 2682ff9fb391..9b7ddb667860 100644
--- a/sound/soc/tegra/tegra20_ac97.c
+++ b/sound/soc/tegra/tegra20_ac97.c
@@ -305,7 +305,6 @@ static void tegra20_ac97_reset(struct snd_ac97 *ac97)
pr_info("WOLFSON_RESET request GPIO FAILED\n");
WARN_ON(1);
}
- tegra_gpio_enable(GPIO_AC97_nRESET);
gpio_status = gpio_direction_output(GPIO_AC97_nRESET, 0);
if (gpio_status < 0) {
pr_info("WOLFSON_RESET request GPIO DIRECTION FAILED\n");
@@ -329,7 +328,6 @@ static void tegra20_ac97_warm_reset(struct snd_ac97 *ac97)
pr_info("WOLFSON_SYNC request GPIO FAILED\n");
WARN_ON(1);
}
- tegra_gpio_enable(GPIO_AC97_SYNC);
gpio_status = gpio_direction_output(GPIO_AC97_SYNC, 1);
if (gpio_status < 0) {
pr_info("WOLFSON_SYNC request GPIO DIRECTION FAILED\n");
@@ -339,7 +337,6 @@ static void tegra20_ac97_warm_reset(struct snd_ac97 *ac97)
gpio_set_value(GPIO_AC97_SYNC, 0);
udelay(2);
gpio_free(GPIO_AC97_SYNC);
- tegra_gpio_disable(GPIO_AC97_SYNC);
}
static unsigned short tegra20_ac97_read(struct snd_ac97 *ac97_snd, unsigned short reg)