Skip to content

Commit

Permalink
Merge tag 'rtc-6.2-fixes' into rtc-next
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre Belloni committed Feb 25, 2023
2 parents e90ff8e + 0827946 commit c978414
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ properties:
description:
Indicates that the setting of RTC time is allowed by the host CPU.

wakeup-source: true

required:
- compatible
- reg
Expand Down
4 changes: 2 additions & 2 deletions drivers/rtc/rtc-sunplus.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ static int sp_rtc_probe(struct platform_device *plat_dev)
if (IS_ERR(sp_rtc->reg_base))
return dev_err_probe(&plat_dev->dev, PTR_ERR(sp_rtc->reg_base),
"%s devm_ioremap_resource fail\n", RTC_REG_NAME);
dev_dbg(&plat_dev->dev, "res = 0x%x, reg_base = 0x%lx\n",
sp_rtc->res->start, (unsigned long)sp_rtc->reg_base);
dev_dbg(&plat_dev->dev, "res = %pR, reg_base = %p\n",
sp_rtc->res, sp_rtc->reg_base);

sp_rtc->irq = platform_get_irq(plat_dev, 0);
if (sp_rtc->irq < 0)
Expand Down

0 comments on commit c978414

Please sign in to comment.