]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
Enable RTC driver.
authorJürgen Lambrecht <juergen.lambrecht@gmail.com>
Tue, 5 Jul 2011 13:35:31 +0000 (15:35 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Thu, 7 Jul 2011 08:01:15 +0000 (10:01 +0200)
The MC13783 MFD also contains an RTC. Enable it.
To avoid "No RTC device found, ALARM timers will not wake from suspend",
this patch is needed:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=c008ba58af24dc5d0d8e9fe6e59d876910254761

Signed-off-by: Jürgen Lambrecht <J.Lambrecht@televic.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/mach-mx27_3ds.c

index 84fb79315dd18b2deea924e40b54e4c097500663..6fa6934ab1509b87642bd41158b01841e9b49d26 100644 (file)
@@ -293,7 +293,8 @@ static struct mc13xxx_platform_data mc13783_pdata = {
                .num_regulators = ARRAY_SIZE(mx27_3ds_regulators),
 
        },
-       .flags  = MC13783_USE_REGULATOR | MC13783_USE_TOUCHSCREEN,
+       .flags  = MC13783_USE_REGULATOR | MC13783_USE_TOUCHSCREEN |
+       MC13783_USE_RTC,
 };
 
 /* SPI */