diff --git a/drivers/rtc/rtc-pl031.c b/drivers/rtc/rtc-pl031.c index d4b2ab7861266e367ce87a590fb3f4fd8611318d..d5ef32313449307e3d1482f082b9fb59deb36611 100644 --- a/drivers/rtc/rtc-pl031.c +++ b/drivers/rtc/rtc-pl031.c @@ -379,8 +379,12 @@ static int pl031_probe(struct amba_device *adev, const struct amba_id *id) vendor->irqflags, "rtc-pl031", ldata); if (ret) goto out; + /*Set bit "RTC start" in register RTCCR to enable RTC */ + writel(0x1, ldata->base + RTC_CR); + dev_pm_set_wake_irq(&adev->dev, adev->irq[0]); } + return 0; out: