diff options
author | Andrew Victor <linux@maxim.org.za> | 2008-01-24 09:10:39 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-01-26 10:01:13 -0500 |
commit | 2b3b3516b6eeea1464e205b2dde9ebc9b7dd2ec8 (patch) | |
tree | 29ec4fd51c8231fd710783effcbaf21b4f80005d /arch/arm/mach-at91/pm.c | |
parent | da7a42d60ba214937ddb35152f336a4e4baa49a6 (diff) |
[ARM] 4764/1: [AT91] AT91CAP9 core support
Add support for Atmel's AT91CAP9 Customizable Microcontroller family.
<http://www.atmel.com/products/AT91CAP/Default.asp>
Signed-off-by: Stelian Pop <stelian@popies.net>
Signed-off-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-at91/pm.c')
-rw-r--r-- | arch/arm/mach-at91/pm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c index 98cb61482917..4b120cc36135 100644 --- a/arch/arm/mach-at91/pm.c +++ b/arch/arm/mach-at91/pm.c | |||
@@ -80,6 +80,11 @@ static int at91_pm_verify_clocks(void) | |||
80 | pr_debug("AT91: PM - Suspend-to-RAM with USB still active\n"); | 80 | pr_debug("AT91: PM - Suspend-to-RAM with USB still active\n"); |
81 | return 0; | 81 | return 0; |
82 | } | 82 | } |
83 | } else if (cpu_is_at91cap9()) { | ||
84 | if ((scsr & AT91CAP9_PMC_UHP) != 0) { | ||
85 | pr_debug("AT91: PM - Suspend-to-RAM with USB still active\n"); | ||
86 | return 0; | ||
87 | } | ||
83 | } | 88 | } |
84 | 89 | ||
85 | #ifdef CONFIG_AT91_PROGRAMMABLE_CLOCKS | 90 | #ifdef CONFIG_AT91_PROGRAMMABLE_CLOCKS |