Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/khorben-n900]: src/sys/arch/arm/omap Removed debugging code
details: https://anonhg.NetBSD.org/src/rev/cbc7447a6579
branches: khorben-n900
changeset: 786706:cbc7447a6579
user: khorben <khorben%NetBSD.org@localhost>
date: Sun May 12 01:19:54 2013 +0000
description:
Removed debugging code
diffstat:
sys/arch/arm/omap/omap2_spi.c | 18 ++----------------
1 files changed, 2 insertions(+), 16 deletions(-)
diffs (81 lines):
diff -r 29fd82763c17 -r cbc7447a6579 sys/arch/arm/omap/omap2_spi.c
--- a/sys/arch/arm/omap/omap2_spi.c Sun May 12 00:56:28 2013 +0000
+++ b/sys/arch/arm/omap/omap2_spi.c Sun May 12 01:19:54 2013 +0000
@@ -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 @@
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 @@
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 @@
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_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 @@
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 @@
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 @@
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;
Home |
Main Index |
Thread Index |
Old Index