Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b06eef45 authored by Rob Herring's avatar Rob Herring Committed by Linus Torvalds
Browse files

drivers/rtc/rtc-pl031.c: add wakeup support



Mark the pl031 as wake-up capable so that rtcwake and suspend test can work.

Signed-off-by: default avatarRob Herring <rob.herring@calxeda.com>
Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent cce2da9a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -384,6 +384,8 @@ static int pl031_probe(struct amba_device *adev, const struct amba_id *id)
		goto out_no_irq;
	}

	device_init_wakeup(&adev->dev, 1);

	return 0;

out_no_irq: