From: Venu Byravarasu Date: Fri, 23 Mar 2012 22:02:33 +0000 (-0700) Subject: drivers/rtc/rtc-twl.c: enable RTC irrespective of its prior state X-Git-Tag: v3.4-rc1~109^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7439bcb74aca4234fedc336a21e169e6e33bb2e;p=pandora-kernel.git 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 Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed