From 1131c813c0a7712d00e9a574dfe2a1dd554a6989 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Mon, 1 Oct 2012 15:11:58 +0200 Subject: 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. --- sound/soc/tegra/tegra20_ac97.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'sound/soc') 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) -- cgit v1.2.3