[RFC PATCH 0/2] ARM: EXYNOS: Fix Suspend-to-RAM on Exynos5420

From: Javier Martinez Canillas
Date: Fri Mar 27 2015 - 10:21:56 EST


Hello,

Suspend-to-RAM is currently not working. Abhilash Kesavan traced down
to the MDMA0 DMA controller clock to be disabled during suspend and
that it must stay enaled during suspend or the system is not able to
resume.

This series is an attempt to fix the issue and is composed of patches:

Javier Martinez Canillas (2):
clk: exynos5420: Add alias for MDMA0 controller clock
ARM: EXYNOS: Make sure that the Exynos5420 MDMA0 clock is enabled
during suspend

arch/arm/mach-exynos/suspend.c | 15 +++++++++++++++
drivers/clk/samsung/clk-exynos5420.c | 2 +-
2 files changed, 16 insertions(+), 1 deletion(-)

Patch #1 just adds an alias fo the MDMA0 clock so a lookup is registered.

Patch #2 enables the MDMA0 clock before entering into a suspend state and
disables it again once the system has been resumed.

The patches are a RFC because I'm not sure if this is the best approach
to solve the issue. So feedback will be highly appreciated.

Best regards,
Javier

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/