summaryrefslogtreecommitdiff
path: root/sound/arm
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@linaro.org>2011-03-25 11:07:20 +0100
committerRobert Marklund <robert.marklund@stericsson.com>2011-10-05 11:15:33 +0200
commit4eac94e004a2a22d37c682c314b5ef1439e48dab (patch)
treeabe8cbad0cbf6272e790a8f333addc54f963d983 /sound/arm
parent1c604c446d1a81622e6b00e2079edadd23bc2324 (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();