Module Name:    src
Committed By:   khorben
Date:           Sun May 12 01:19:54 UTC 2013

Modified Files:
        src/sys/arch/arm/omap [khorben-n900]: omap2_spi.c

Log Message:
Removed debugging code


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/arch/arm/omap/omap2_spi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/arm/omap/omap2_spi.c
diff -u src/sys/arch/arm/omap/omap2_spi.c:1.1.2.1 src/sys/arch/arm/omap/omap2_spi.c:1.1.2.2
--- src/sys/arch/arm/omap/omap2_spi.c:1.1.2.1	Sat May 11 17:19:41 2013
+++ src/sys/arch/arm/omap/omap2_spi.c	Sun May 12 01:19:54 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: omap2_spi.c,v 1.1.2.1 2013/05/11 17:19:41 khorben Exp $ */
+/* $NetBSD: omap2_spi.c,v 1.1.2.2 2013/05/12 01:19:54 khorben Exp $ */
 
 /*
  * Texas Instruments OMAP2/3 Multichannel SPI driver.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: omap2_spi.c,v 1.1.2.1 2013/05/11 17:19:41 khorben Exp $");
+__KERNEL_RCSID(0, "$NetBSD: omap2_spi.c,v 1.1.2.2 2013/05/12 01:19:54 khorben Exp $");
 
 #include "opt_omap.h"
 
@@ -188,8 +188,6 @@ omap2_spi_configure(void *cookie, int sl
 	uint32_t conf = 0;
 	uint32_t div;
 
-	aprint_normal_dev(sc->sc_dev, "%s(%d)\n", __func__, slave);
-
 	if (slave >= sc->sc_spi.sct_nslaves)
 		return EINVAL;
 
@@ -273,8 +271,6 @@ omap2_spi_start(struct omap2_spi_softc *
 	uint32_t ctrlval;
 	uint32_t u32;
 
-	aprint_normal_dev(sc->sc_dev, "%s(%d)\n", __func__, channel);
-
 	chan = &sc->sc_channels[channel];
 	if (chan->running)
 		return;
@@ -353,8 +349,6 @@ omap2_spi_intr(void *v)
 	uint32_t tx_empty = 0;
 	uint32_t rx_full = 0;
 
-	aprint_normal_dev(sc->sc_dev, "%s()\n", __func__);
-
 	/* reset the channel status bits */
 	status = SPI_READ_REG(sc, OMAP2_MCSPI_IRQSTATUS);
 	u32 = 0;
@@ -414,8 +408,6 @@ omap2_spi_intr(void *v)
 			omap2_spi_recv(sc, i);
 		}
 
-		aprint_normal_dev(sc->sc_dev, "%s() %p %p\n", __func__,
-				chan->wchunk, chan->rchunk);
 		if (chan->wchunk == NULL && chan->rchunk == NULL) {
 			st = chan->transfer;
 			chan->transfer = NULL;
@@ -445,8 +437,6 @@ omap2_spi_reset(struct omap2_spi_softc *
 	uint32_t status;
 	int i;
 
-	aprint_normal_dev(sc->sc_dev, "%s()\n", __func__);
-
 	/* proceed to a software reset */
 	SPI_WRITE_REG(sc, OMAP2_MCSPI_SYSCONFIG,
 			OMAP2_MCSPI_SYSCONFIG_SOFTRESET);
@@ -484,8 +474,6 @@ omap2_spi_send(struct omap2_spi_softc * 
 	uint32_t u32;
 	uint32_t data;
 
-	aprint_normal_dev(sc->sc_dev, "%s(%d)\n", __func__, channel);
-
 	if ((chunk = sc->sc_channels[channel].wchunk) == NULL)
 		return;
 
@@ -513,8 +501,6 @@ omap2_spi_recv(struct omap2_spi_softc * 
 	uint32_t u32;
 	uint32_t data;
 
-	aprint_normal_dev(sc->sc_dev, "%s(%d)\n", __func__, channel);
-
 	while ((chunk = sc->sc_channels[channel].rchunk) != NULL
 			&& chunk->chunk_rresid == 0) {
 		sc->sc_channels[channel].rchunk = chunk->chunk_next;

Reply via email to