summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@linaro.org>2011-03-25 11:07:20 +0100
committerPhilippe Langlais <philippe.langlais@linaro.org>2012-03-19 09:00:47 +0100
commit8b3574bc4a640e15b751ea496dd2277fd309f161 (patch)
tree4990a0931fb14602347ed837c6d6028b2915d6dc /sound
parent9f199b6c970807d554badae087efe436cdc94bb5 (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')
-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();