ARM: SMDK6410: Enable suspend support for WM1192 PMIC board
Subsystems (3)
PATCH 1/1 ARM: SMDK6410: Enable suspend support for WM1192 PMIC board
The Samsung port requires explicit enable of suspend for each board, do so for SMDK6410 when using the WM1192 PMIC board where the WM8312 can generate wake events.
Signed-off-by Mark Brown <[email protected]>
--- arch/arm/mach-s3c64xx/mach-smdk6410.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
arch/arm/mach-s3c64xx/mach-smdk6410.c +4 -0
@@ -69,6 +69,7 @@#include <plat/adc.h> #include <plat/ts.h> #include <plat/keypad.h> +#include <plat/pm.h> #define UCON S3C2410_UCON_DEFAULT | S3C2410_UCON_UCLK#define ULCON S3C2410_LCON_CS8 | S3C2410_LCON_PNONE | S3C2410_LCON_STOPB
@@ -535,6 +536,9 @@ static int wm1192_pre_init(struct wm831x *wm831x) {int ret; +/* The WM8312 can generate wake signals */ +s3c_pm_init (); +/* Configure the IRQ line */ s3c_gpio_setpull (S3C64XX_GPN (12 ),S3C_GPIO_PULL_UP );
Signature · 1 line
1.7.2.3