summaryrefslogtreecommitdiff
path: root/sound/arm
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@linaro.org>2011-03-25 11:07:20 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:04:43 +0200
commit0492aabe4d02b1dc4dc2c0d1a1bbf33d7ea1c952 (patch)
treebe08754c8f882648de38cf695b6d337550343c5a /sound/arm
parentdfb47d5d7561d0fb735603353790224c0f640328 (diff)
msp: remove usage of stm_gpio_altfuncenable/disable
Usage of two GPIO configuration systems - stm_gpio_altfuncenable/disable is removed.
Diffstat (limited to 'sound/arm')
-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();