diff options
author | Venu Byravarasu <vbyravarasu@nvidia.com> | 2012-03-23 15:02:33 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-23 16:58:39 -0700 |
commit | f7439bcb74aca4234fedc336a21e169e6e33bb2e (patch) | |
tree | 815b214ea649e068711e5b36de3952f1221c717d /drivers/media/dvb/frontends/mt352.c | |
parent | ce9f650636d310e4c8febc821b0038e9918a12db (diff) |
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 'drivers/media/dvb/frontends/mt352.c')
0 files changed, 0 insertions, 0 deletions