From 6c910fc6c66839a0d88d83174ac06a0e0844e269 Mon Sep 17 00:00:00 2001 From: "H. Nikolaus Schaller" Date: Tue, 23 Jul 2013 16:57:53 +0200 Subject: fixed (or commented with FIXME/#warning) to get the whole package compiled Signed-off-by: H. Nikolaus Schaller --- sound/soc/omap/Makefile | 2 +- sound/soc/omap/gta04-fm.c | 1 - sound/soc/omap/omap-mcbsp.c | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'sound/soc/omap') diff --git a/sound/soc/omap/Makefile b/sound/soc/omap/Makefile index 2860c22..9ba61e8 100644 --- a/sound/soc/omap/Makefile +++ b/sound/soc/omap/Makefile @@ -20,7 +20,7 @@ snd-soc-am3517evm-objs := am3517evm.o snd-soc-omap-abe-twl6040-objs := omap-abe-twl6040.o snd-soc-omap-twl4030-objs := omap-twl4030.o snd-soc-omap3pandora-objs := omap3pandora.o -snd-soc-gta04-objs := gta04-audio.o gta04-voice.o gta04-headset.o gta04-fm.o +snd-soc-gta04-objs := gta04-audio.o gta04-voice.o gta04-headset.o gta04-jack.o gta04-fm.o snd-soc-zoom2-objs := zoom2.o snd-soc-omap-hdmi-card-objs := omap-hdmi-card.o diff --git a/sound/soc/omap/gta04-fm.c b/sound/soc/omap/gta04-fm.c index bcf81ed..3bc0a0f 100644 --- a/sound/soc/omap/gta04-fm.c +++ b/sound/soc/omap/gta04-fm.c @@ -25,7 +25,6 @@ #include "mcbsp.h" #include "omap-mcbsp.h" -#include "omap-pcm.h" #include "../codecs/si47xx.h" /* FCLK is 96 MHz and is divided by the CLOCK_DIVISOR to generate the McBSP CLKX signal diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c index a3894cc..981e855 100644 --- a/sound/soc/omap/omap-mcbsp.c +++ b/sound/soc/omap/omap-mcbsp.c @@ -559,7 +559,7 @@ static int omap_mcbsp_dai_set_tristate(struct snd_soc_dai *dai, case 3: gpio=140; break; /* may also be GPIO 144 or 158 in different modes! */ case 4: gpio=154; break; /* may also be on GPIO 57 in different mode! */ case 5: gpio=20; mode = OMAP_MUX_MODE1; break; - default: -EIO; + default: return -EIO; } /* should check for errors */ -- cgit v1.1