summaryrefslogtreecommitdiffstats
path: root/sound/soc/omap
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2012-12-31 11:51:47 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-02 13:04:25 +0000
commitfff3dd40132d6106d4d2a61e70e782f82394fd17 (patch)
tree9c4f006bd8c62cf2913098585d1ee18a7d3c861b /sound/soc/omap
parent5712ded9cf0b6981825af3c86e0059be93e5e17c (diff)
downloadblackbird-op-linux-fff3dd40132d6106d4d2a61e70e782f82394fd17.tar.gz
blackbird-op-linux-fff3dd40132d6106d4d2a61e70e782f82394fd17.zip
ASoC: sdp3430: No need to configure pin mux for extmute
The codec driver takes care of this. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/omap')
-rw-r--r--sound/soc/omap/sdp3430.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/sound/soc/omap/sdp3430.c b/sound/soc/omap/sdp3430.c
index f2e26512d2a0..216cbdd569e7 100644
--- a/sound/soc/omap/sdp3430.c
+++ b/sound/soc/omap/sdp3430.c
@@ -24,7 +24,6 @@
#include <linux/clk.h>
#include <linux/platform_device.h>
-#include <linux/i2c/twl.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/soc.h>
@@ -32,20 +31,12 @@
#include <asm/mach-types.h>
#include <linux/platform_data/gpio-omap.h>
-#include <linux/platform_data/asoc-ti-mcbsp.h>
-/* Register descriptions for twl4030 codec part */
-#include <linux/mfd/twl4030-audio.h>
#include <linux/module.h>
#include "omap-mcbsp.h"
#include "omap-pcm.h"
-/* TWL4030 PMBR1 Register */
-#define TWL4030_INTBR_PMBR1 0x0D
-/* TWL4030 PMBR1 Register GPIO6 mux bit */
-#define TWL4030_GPIO6_PWM0_MUTE(value) (value << 2)
-
static struct snd_soc_card snd_soc_sdp3430;
static int sdp3430_hw_params(struct snd_pcm_substream *substream,
@@ -212,7 +203,6 @@ static struct platform_device *sdp3430_snd_device;
static int __init sdp3430_soc_init(void)
{
int ret;
- u8 pin_mux;
if (!machine_is_omap_3430sdp())
return -ENODEV;
@@ -226,14 +216,6 @@ static int __init sdp3430_soc_init(void)
platform_set_drvdata(sdp3430_snd_device, &snd_soc_sdp3430);
- /* Set TWL4030 GPIO6 as EXTMUTE signal */
- twl_i2c_read_u8(TWL4030_MODULE_INTBR, &pin_mux,
- TWL4030_INTBR_PMBR1);
- pin_mux &= ~TWL4030_GPIO6_PWM0_MUTE(0x03);
- pin_mux |= TWL4030_GPIO6_PWM0_MUTE(0x02);
- twl_i2c_write_u8(TWL4030_MODULE_INTBR, pin_mux,
- TWL4030_INTBR_PMBR1);
-
ret = platform_device_add(sdp3430_snd_device);
if (ret)
goto err1;
OpenPOWER on IntegriCloud