summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorVenu Byravarasu2012-03-23 23:02:33 +0100
committerLinus Torvalds2012-03-24 00:58:39 +0100
commitf7439bcb74aca4234fedc336a21e169e6e33bb2e (patch)
tree815b214ea649e068711e5b36de3952f1221c717d /Documentation
parentdrivers/rtc/rtc-twl.c: optimize IRQ bit access (diff)
downloadkernel-qcow2-linux-f7439bcb74aca4234fedc336a21e169e6e33bb2e.tar.gz
kernel-qcow2-linux-f7439bcb74aca4234fedc336a21e169e6e33bb2e.tar.xz
kernel-qcow2-linux-f7439bcb74aca4234fedc336a21e169e6e33bb2e.zip
drivers/rtc/rtc-twl.c: enable RTC irrespective of its prior state
As part of probe, before enabling RTC, RTC_CTRL register is read to check if it is already running. If RTC is used by kernel alone, then this read is not required. Even if RTC was enabled already by boot loader, setting STOP_RTC bit again should not harm. Hence removed unwanted read operation. Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com> Cc: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions