Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/omap inject a PMFE_SPEED_CHANGED when changing ...
details: https://anonhg.NetBSD.org/src/rev/dff088133b33
branches: trunk
changeset: 789374:dff088133b33
user: matt <matt%NetBSD.org@localhost>
date: Sat Aug 17 00:40:10 2013 +0000
description:
inject a PMFE_SPEED_CHANGED when changing the speed.
diffstat:
sys/arch/arm/omap/am335x_prcm.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r 34e6520bc333 -r dff088133b33 sys/arch/arm/omap/am335x_prcm.c
--- a/sys/arch/arm/omap/am335x_prcm.c Sat Aug 17 00:21:47 2013 +0000
+++ b/sys/arch/arm/omap/am335x_prcm.c Sat Aug 17 00:40:10 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: am335x_prcm.c,v 1.5 2013/08/01 00:24:43 matt Exp $ */
+/* $NetBSD: am335x_prcm.c,v 1.6 2013/08/17 00:40:10 matt Exp $ */
/*
* TI OMAP Power, Reset, and Clock Management on the AM335x
@@ -34,11 +34,12 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: am335x_prcm.c,v 1.5 2013/08/01 00:24:43 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: am335x_prcm.c,v 1.6 2013/08/17 00:40:10 matt Exp $");
#include <sys/types.h>
#include <sys/param.h>
#include <sys/sysctl.h>
+#include <sys/pmf.h>
#include <arm/omap/am335x_prcm.h>
#include <arm/omap/omap2_reg.h>
@@ -178,6 +179,7 @@
aprint_normal_dev(curcpu()->ci_dev,
"frequency changed from %d MHz to %d MHz\n",
old_freq, freq);
+ pmf_event_inject(NULL, PMFE_SPEED_CHANGED);
}
return 0;
Home |
Main Index |
Thread Index |
Old Index