From mboxrd@z Thu Jan 1 00:00:00 1970 From: lamikr Subject: Re: [PATCH] Fix AUDIO_MCBSP_DATAREAD/WRITE undefined for OMAP16xx Date: Tue, 17 Jan 2006 21:21:29 +0200 Message-ID: <43CD43B9.70902@cc.jyu.fi> References: <43CD3AFF.9080802@de.bosch.com> Reply-To: linux-omap-open-source@linux.omap.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <43CD3AFF.9080802@de.bosch.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces+gplao-linux-omap-open-source=gmane.org@linux.omap.com Errors-To: linux-omap-open-source-bounces+gplao-linux-omap-open-source=gmane.org@linux.omap.com To: linux-omap-open-source@linux.omap.com List-Id: linux-omap@vger.kernel.org For this I think it would be better to take the patch from the message titled "omap1510/16xx fixes for the tsc2101 oss driver" I send yesterday. It defines the AUDIO_MCBSP_DATAWRITE and AUDIO_MCBSP_DATAREAD for the omap1510/16xx in a similar way than is done for the omap24xx. Mika Dirk Behme wrote: > > ARM: OMAP: Define AUDIO_MCBSP_DATAREAD/WRITE for OMAP16xx as well > > Fix error > > sound/oss/omap-audio-dma-intfc.c:715: error: `AUDIO_MCBSP_DATAWRITE' > undeclared (first use in this function) > sound/oss/omap-audio-dma-intfc.c:745: error: `AUDIO_MCBSP_DATAREAD' > undeclared (first use in this function) > > Signed-off-by: Dirk Behme > >------------------------------------------------------------------------ > >--- ./include/asm-arm/arch-omap/mcbsp.h_orig 2006-01-17 18:34:46.000000000 +0100 >+++ ./include/asm-arm/arch-omap/mcbsp.h 2006-01-17 18:37:11.720163080 +0100 >@@ -80,6 +80,9 @@ > #define AUDIO_DMA_TX OMAP_DMA_MCBSP1_TX > #define AUDIO_DMA_RX OMAP_DMA_MCBSP1_RX > >+#define AUDIO_MCBSP_DATAWRITE (0) >+#define AUDIO_MCBSP_DATAREAD (0) >+ > #elif defined(CONFIG_ARCH_OMAP24XX) > > #define OMAP_MCBSP_REG_DRR2 0x00 > > > >------------------------------------------------------------------------ > >_______________________________________________ >Linux-omap-open-source mailing list >Linux-omap-open-source@linux.omap.com >http://linux.omap.com/mailman/listinfo/linux-omap-open-source > >