Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
arch
/
arm
/
mach-omap2
/
omap_hwmod.c
diff --git
a/kernel/arch/arm/mach-omap2/omap_hwmod.c
b/kernel/arch/arm/mach-omap2/omap_hwmod.c
index
8e0bd59
..
147c90e
100644
(file)
--- a/
kernel/arch/arm/mach-omap2/omap_hwmod.c
+++ b/
kernel/arch/arm/mach-omap2/omap_hwmod.c
@@
-1416,9
+1416,7
@@
static void _enable_sysc(struct omap_hwmod *oh)
(sf & SYSC_HAS_CLOCKACTIVITY))
_set_clockactivity(oh, oh->class->sysc->clockact, &v);
(sf & SYSC_HAS_CLOCKACTIVITY))
_set_clockactivity(oh, oh->class->sysc->clockact, &v);
- /* If the cached value is the same as the new value, skip the write */
- if (oh->_sysc_cache != v)
- _write_sysconfig(v, oh);
+ _write_sysconfig(v, oh);
/*
* Set the autoidle bit only after setting the smartidle bit
/*
* Set the autoidle bit only after setting the smartidle bit
@@
-1481,7
+1479,9
@@
static void _idle_sysc(struct omap_hwmod *oh)
_set_master_standbymode(oh, idlemode, &v);
}
_set_master_standbymode(oh, idlemode, &v);
}
- _write_sysconfig(v, oh);
+ /* If the cached value is the same as the new value, skip the write */
+ if (oh->_sysc_cache != v)
+ _write_sysconfig(v, oh);
}
/**
}
/**