Fix typos in comment (threshhold -> threshold, mapp -> map)
authorStefan Weil <weil@mail.berlios.de>
Thu, 28 Apr 2011 15:20:42 +0000 (17:20 +0200)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Sun, 8 May 2011 09:02:18 +0000 (10:02 +0100)
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
hw/xilinx_axidma.c

index e32534feaf7b0911578025cf2ac8816868159119..571a5b0661cdf69f6409f0a51109b678e5bc856b 100644 (file)
@@ -134,10 +134,10 @@ static inline int stream_idle(struct AXIStream *s)
 static void stream_reset(struct AXIStream *s)
 {
     s->regs[R_DMASR] = DMASR_HALTED;  /* starts up halted.  */
-    s->regs[R_DMACR] = 1 << 16; /* Starts with one in compl threshhold.  */
+    s->regs[R_DMACR] = 1 << 16; /* Starts with one in compl threshold.  */
 }
 
-/* Mapp an offset addr into a channel index.  */
+/* Map an offset addr into a channel index.  */
 static inline int streamid_from_addr(target_phys_addr_t addr)
 {
     int sid;
This page took 0.029073 seconds and 4 git commands to generate.