summaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/ocfs2.txt
diff options
context:
space:
mode:
authorQianyu Gong <qianyu.gong@nxp.com>2016-04-21 08:55:40 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-05-20 12:33:51 +0200
commitb4b77f3c280e38cec178f81d7a4d7e65f4045913 (patch)
treead6ae0b1dbb8cf4096a1ad03080c18ab7a34c70e /Documentation/filesystems/ocfs2.txt
parentrtc: snvs: return error in case enable_irq_wake fails (diff)
downloadlinux-b4b77f3c280e38cec178f81d7a4d7e65f4045913.tar.xz
linux-b4b77f3c280e38cec178f81d7a4d7e65f4045913.zip
rtc: ds3232: fix call trace when rtc->ops_lock is used as NULL
The rtc->ops_lock would be accessed in ds3232_irq() without being initialized as rtc_device_register() is called too late. So move devm_rtc_device_register() just before registering irq handler to initialize rtc->ops_lock earlier. Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'Documentation/filesystems/ocfs2.txt')
0 files changed, 0 insertions, 0 deletions