diff options
author | David Daney <ddaney@caviumnetworks.com> | 2011-04-27 10:54:20 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-03 10:09:31 -0700 |
commit | f5ced99725d05f521ef0f597e688c19835e59c55 (patch) | |
tree | ad43e943897b61d26d009a14c325fe9782aa1765 /drivers/usb/Makefile | |
parent | dbc265465a3fc8ac8d75d3ede7e84ea122a8fd0a (diff) |
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/usb/Makefile')
0 files changed, 0 insertions, 0 deletions