]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
rtc: as3722: add shutdown support
authorBibek Basu <bbasu@nvidia.com>
Wed, 28 Jan 2015 06:11:13 +0000 (11:41 +0530)
committerWinnie Hsu <whsu@nvidia.com>
Fri, 30 Jan 2015 05:48:24 +0000 (21:48 -0800)
commit3ab290755e0be6b207a5cd79f507c456195bba58
treedf754984a35bcb292d7bf5461f21f5ed6a839c10
parent097e6ff87a8450a0040091d7a69e9894611df6e6
rtc: as3722: add shutdown support

When shutdown process is ongoing, dont allow rtc
read/write/irq activity.Add shutdown hook to the
driver to disable irq and cancel any pending
irq_work

Bug 200072946

Change-Id: I1a68d17ec49ee32e849ad965a144b84be19ba6c5
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/677751
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
drivers/rtc/rtc-as3722.c