diff options
author | David Daney <ddaney@caviumnetworks.com> | 2011-04-27 21:54:20 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-03 21:09:31 +0400 |
commit | f5ced99725d05f521ef0f597e688c19835e59c55 (patch) | |
tree | ad43e943897b61d26d009a14c325fe9782aa1765 /drivers/rtc/rtc-sa1100.c | |
parent | dbc265465a3fc8ac8d75d3ede7e84ea122a8fd0a (diff) | |
download | linux-f5ced99725d05f521ef0f597e688c19835e59c55.tar.xz |
USB: octeon2-common: Don't reinitialize the clocks.
The UCTL clock initialization will cause the ehci and ohci blocks to
become inoperable if the clocks are reinitialized.
Check to see if the clocks have already been initialized.
Also use a mutex to protect the clock initialization code so that
there can be no attempt to use the clocks before they are fully
configured.
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/rtc/rtc-sa1100.c')
0 files changed, 0 insertions, 0 deletions