mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
rtc: update VRS RTC IRQ to system hwclock
Update RTC IRQ occurred to system hwclock by adding rtc_update_irq in irq handler. Bug 3740696 Change-Id: I1ad9c05f759b5b11f8f212eb91a709f1b3625336 Signed-off-by: Shubhi Garg <shgarg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2764942 (cherry picked from commit 1926f478143bb1962da8748b6cbc9c094c37a7a4) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2999458 (cherry picked from commit 608ed39528a9735ad229067c8f9c6853d9a33a6e) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3007049 Reviewed-by: Bibek Basu <bbasu@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
4c575fd98c
commit
515f73fcd6
@@ -194,6 +194,8 @@ static irqreturn_t nvvrs_rtc_irq_handler(int irq, void *data)
|
|||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
dev_err(info->dev, "Failed to disable alarm: ret %d\n", ret);
|
dev_err(info->dev, "Failed to disable alarm: ret %d\n", ret);
|
||||||
|
|
||||||
|
rtc_update_irq(info->rtc_dev, 1, RTC_IRQF | RTC_AF);
|
||||||
|
|
||||||
return IRQ_HANDLED;
|
return IRQ_HANDLED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user