summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@linaro.org>2011-03-25 11:07:20 +0100
committerUlf Hansson <ulf.hansson@stericsson.com>2011-09-19 15:14:42 +0200
commit31c5da5fa5d7ec98742532e2a71abcd781009dd2 (patch)
treed3f4f03b2353157accb222b0d247fd17132e0918
parentcdd77f9812464cb56a1cfef29ae9d51199eeb922 (diff)
msp: remove usage of stm_gpio_altfuncenable/disable
Usage of two GPIO configuration systems - stm_gpio_altfuncenable/disable is removed.
-rw-r--r--sound/arm/u8500_alsa_ab8500.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/sound/arm/u8500_alsa_ab8500.c b/sound/arm/u8500_alsa_ab8500.c
index c14eed19196..fe104539cc9 100644
--- a/sound/arm/u8500_alsa_ab8500.c
+++ b/sound/arm/u8500_alsa_ab8500.c
@@ -1343,16 +1343,6 @@ static int u8500_direct_rendering_mode_ctrl_put(struct snd_kcontrol *kcontrol, s
chip->direct_rendering_mode = uinfo->value.enumerated.item[0];
- if (ENABLE == chip->direct_rendering_mode) {
- stm_gpio_altfuncenable(GPIO_ALT_MSP_1);
- printk("\n stm_gpio_altfuncenable for GPIO_ALT_MSP_1\n");
- printk("\n Direct Rendering mode enabled\n");
- } else {
- stm_gpio_altfuncdisable(GPIO_ALT_MSP_1);
- printk("\n stm_gpio_altfuncdisable for GPIO_ALT_MSP_1\n");
- printk("\n Direct Rendering mode disabled\n");
- }
-
changed = 1;
return changed;
@@ -1819,12 +1809,6 @@ static int configure_direct_rendering(struct snd_pcm_substream *substream)
writel(0x0, ((char *)(IO_ADDRESS(U8500_MSP1_BASE) + 0x20))); //MSP
writel(0x0, ((char *)(IO_ADDRESS(U8500_MSP1_BASE) + 0x2C))); //MSP
- status = stm_gpio_altfuncenable(GPIO_ALT_MSP_1);
- if (status) {
- printk("Error in stm_gpio_altfuncenable, status is %d\n",
- status);
- }
-
printk("\n stm_gpio_altfuncenable for GPIO_ALT_MSP_1\n");
dsp_configure_audio_codec();