diff options
author | Benoit Cousson <b-cousson@ti.com> | 2010-09-21 12:34:08 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-09-21 17:10:52 -0400 |
commit | 3827f9492bdff045ae57fe67e65ce7e259ed4219 (patch) | |
tree | 29667bce8477d1b067f5449fd1b0c6e5476fdfc9 /net/ieee802154/ieee802154.h | |
parent | 9ee9fff92e02e8c5f84794b3a5ce47646c2dfc39 (diff) |
OMAP: hwmod: Do not disable clocks if hwmod already in idle
The disable function was disabling clocks and dependencies
from both enable and idle state. Since idle function is already
disabling both, an enable -> idle -> disable sequence will
try to disable twice the clocks and thus generate a
"Trying disable clock XXX with 0 usecount" warning.
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Tested-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'net/ieee802154/ieee802154.h')
0 files changed, 0 insertions, 0 deletions