diff options
author | Guo Zeng <guo.zeng@csr.com> | 2014-12-10 15:52:24 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-10 17:41:13 -0800 |
commit | 0e95325525c4383565cea4f402f15a3113162d05 (patch) | |
tree | c1d6c26da1f234ce1c21738b11a1b6d8fb166970 /drivers/rtc/rtc-ps3.c | |
parent | a682e9c28cac152e6e54c39efcf046e0c8cfcf63 (diff) |
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 <guo.zeng@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-ps3.c')
0 files changed, 0 insertions, 0 deletions