Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/nvidia tegra_apbdma_acquire: length param is in...
details: https://anonhg.NetBSD.org/src/rev/f817194972a0
branches: trunk
changeset: 823695:f817194972a0
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Wed May 03 12:38:39 2017 +0000
description:
tegra_apbdma_acquire: length param is in bytes not cells
diffstat:
sys/arch/arm/nvidia/tegra_apbdma.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 10b2554b6d43 -r f817194972a0 sys/arch/arm/nvidia/tegra_apbdma.c
--- a/sys/arch/arm/nvidia/tegra_apbdma.c Wed May 03 12:09:41 2017 +0000
+++ b/sys/arch/arm/nvidia/tegra_apbdma.c Wed May 03 12:38:39 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_apbdma.c,v 1.1 2017/04/29 11:01:51 jmcneill Exp $ */
+/* $NetBSD: tegra_apbdma.c,v 1.2 2017/05/03 12:38:39 jmcneill Exp $ */
/*-
* Copyright (c) 2017 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_apbdma.c,v 1.1 2017/04/29 11:01:51 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_apbdma.c,v 1.2 2017/05/03 12:38:39 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -189,7 +189,7 @@
struct tegra_apbdma_chan *ch;
char intrstr[128];
- if (len != 1)
+ if (len != 4)
return NULL;
const u_int n = be32dec(data);
Home |
Main Index |
Thread Index |
Old Index