aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/interface.c
diff options
context:
space:
mode:
authorGuo Zeng <[email protected]>2014-12-10 23:52:24 +0000
committerLinus Torvalds <[email protected]>2014-12-11 01:41:13 +0000
commit0e95325525c4383565cea4f402f15a3113162d05 (patch)
treec1d6c26da1f234ce1c21738b11a1b6d8fb166970 /drivers/rtc/interface.c
parentncpfs: return proper error from NCP_IOC_SETROOT ioctl (diff)
downloadkernel-0e95325525c4383565cea4f402f15a3113162d05.tar.gz
kernel-0e95325525c4383565cea4f402f15a3113162d05.zip
drivers/rtc/rtc-sirfsoc.c: move hardware initilization earlier in probe
Move rtc register to be later than hardware initialization. The reason is that devm_rtc_device_register() will do read_time() which is a callback accessing hardware. This sometimes causes a hang in the hardware related callback. Signed-off-by: Guo Zeng <[email protected]> Signed-off-by: Barry Song <[email protected]> Cc: Alessandro Zummo <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/rtc/interface.c')
0 files changed, 0 insertions, 0 deletions