summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-sa1100.c
diff options
context:
space:
mode:
authorDavid Daney <ddaney@caviumnetworks.com>2011-04-27 21:54:20 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-03 21:09:31 +0400
commitf5ced99725d05f521ef0f597e688c19835e59c55 (patch)
treead43e943897b61d26d009a14c325fe9782aa1765 /drivers/rtc/rtc-sa1100.c
parentdbc265465a3fc8ac8d75d3ede7e84ea122a8fd0a (diff)
downloadlinux-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