mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
drivers: rtc: revert debug log from rtc module
According to debug, denver's unexpected RTC reset was caused by PMIC issue. So I rever the monitor change. This reverts commit 2a62d1dc1ccb40b698b33d4cff83f8cdf3d4c95c. Change-Id: I6ef1049ccdfd32b1f12df3aef748c5755a469a64 Reviewed-on: https://gerrit.mot.com/1831952 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
f7c3400a64
commit
517749f766
1 changed files with 0 additions and 10 deletions
|
|
@ -63,13 +63,6 @@ struct pm8xxx_rtc {
|
|||
spinlock_t ctrl_reg_lock;
|
||||
};
|
||||
|
||||
/* MMI_STOPSHIP BSP: Debug unexpected RTC reset */
|
||||
|
||||
#ifdef dev_dbg
|
||||
#undef dev_dbg
|
||||
#define dev_dbg dev_err
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Steps to write the RTC registers.
|
||||
* 1. Disable alarm if enabled.
|
||||
|
|
@ -365,9 +358,6 @@ static irqreturn_t pm8xxx_alarm_trigger(int irq, void *dev_id)
|
|||
|
||||
rtc_update_irq(rtc_dd->rtc, 1, RTC_IRQF | RTC_AF);
|
||||
|
||||
dev_dbg(rtc_dd->rtc_dev,
|
||||
"motorola debug rtc : enter %s\n", __func__);
|
||||
|
||||
spin_lock_irqsave(&rtc_dd->ctrl_reg_lock, irq_flags);
|
||||
|
||||
/* Clear the alarm enable bit */
|
||||
|
|
|
|||
Loading…
Reference in a new issue