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 use correct enable reg for I2C5



details:   https://anonhg.NetBSD.org/src/rev/53e85494740f
branches:  trunk
changeset: 808413:53e85494740f
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat May 16 23:07:51 2015 +0000

description:
use correct enable reg for I2C5

diffstat:

 sys/arch/arm/nvidia/tegra_car.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ee1929fedb94 -r 53e85494740f sys/arch/arm/nvidia/tegra_car.c
--- a/sys/arch/arm/nvidia/tegra_car.c   Sat May 16 22:41:59 2015 +0000
+++ b/sys/arch/arm/nvidia/tegra_car.c   Sat May 16 23:07:51 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_car.c,v 1.14 2015/05/15 11:50:30 jmcneill Exp $ */
+/* $NetBSD: tegra_car.c,v 1.15 2015/05/16 23:07:51 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
 #include "locators.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_car.c,v 1.14 2015/05/15 11:50:30 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_car.c,v 1.15 2015/05/16 23:07:51 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -548,7 +548,7 @@
                break;
        case 4:
                rst_reg = CAR_RST_DEV_H_SET_REG;
-               enb_reg = CAR_CLK_ENB_V_SET_REG;
+               enb_reg = CAR_CLK_ENB_H_SET_REG;
                dev_bit = CAR_DEV_H_I2C5;
                clksrc_reg = CAR_CLKSRC_I2C5_REG;
                break;



Home | Main Index | Thread Index | Old Index