diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-at91/pm.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c index ff8db29e989e..47ff676aca5f 100644 --- a/arch/arm/mach-at91/pm.c +++ b/arch/arm/mach-at91/pm.c | |||
@@ -76,12 +76,11 @@ static int at91_pm_verify_clocks(void) | |||
76 | pr_debug("AT91: PM - Suspend-to-RAM with USB still active\n"); | 76 | pr_debug("AT91: PM - Suspend-to-RAM with USB still active\n"); |
77 | return 0; | 77 | return 0; |
78 | } | 78 | } |
79 | } else if (cpu_is_at91sam9260()) { | 79 | } else if (cpu_is_at91sam9260() || cpu_is_at91sam9261() || cpu_is_at91sam9263()) { |
80 | #warning "Check SAM9260 USB clocks" | 80 | if ((scsr & (AT91SAM926x_PMC_UHP | AT91SAM926x_PMC_UDP)) != 0) { |
81 | } else if (cpu_is_at91sam9261()) { | 81 | pr_debug("AT91: PM - Suspend-to-RAM with USB still active\n"); |
82 | #warning "Check SAM9261 USB clocks" | 82 | return 0; |
83 | } else if (cpu_is_at91sam9263()) { | 83 | } |
84 | #warning "Check SAM9263 USB clocks" | ||
85 | } | 84 | } |
86 | 85 | ||
87 | #ifdef CONFIG_AT91_PROGRAMMABLE_CLOCKS | 86 | #ifdef CONFIG_AT91_PROGRAMMABLE_CLOCKS |