diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-06-26 14:34:35 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-06-26 14:34:35 -0400 |
commit | 4aa705b18bf17c4ff33ff7bbcd3f0c596443fa81 (patch) | |
tree | 3b166bff290d123ccaa88598ad2d45be67f5b358 /arch/arm/mach-omap2/omap_hwmod.c | |
parent | c11d716218910c3aa2bac1bb641e6086ad649555 (diff) | |
parent | 2879e43f09122f8b3ef5456e3d7e48716b086e60 (diff) |
Merge tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC platform support updates from Kevin Hilman:
"Our SoC branch usually contains expanded support for new SoCs and
other core platform code. Some highlights from this round:
- sunxi: SMP support for A23 SoC
- socpga: big-endian support
- pxa: conversion to common clock framework
- bcm: SMP support for BCM63138
- imx: support new I.MX7D SoC
- zte: basic support for ZX296702 SoC"
* tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (134 commits)
ARM: zx: Add basic defconfig support for ZX296702
ARM: dts: zx: add an initial zx296702 dts and doc
clk: zx: add clock support to zx296702
dt-bindings: Add #defines for ZTE ZX296702 clocks
ARM: socfpga: fix build error due to secondary_startup
MAINTAINERS: ARM64: EXYNOS: Extend entry for ARM64 DTS
ARM: ep93xx: simone: support for SPI-based MMC/SD cards
MAINTAINERS: update Shawn's email to use kernel.org one
ARM: socfpga: support suspend to ram
ARM: socfpga: add CPU_METHOD_OF_DECLARE for Arria 10
ARM: socfpga: use CPU_METHOD_OF_DECLARE for socfpga_cyclone5
ARM: EXYNOS: register power domain driver from core_initcall
ARM: EXYNOS: use PS_HOLD based poweroff for all supported SoCs
ARM: SAMSUNG: Constify platform_device_id
ARM: EXYNOS: Constify irq_domain_ops
ARM: EXYNOS: add coupled cpuidle support for Exynos3250
ARM: EXYNOS: add exynos_get_boot_addr() helper
ARM: EXYNOS: add exynos_set_boot_addr() helper
ARM: EXYNOS: make exynos_core_restart() less verbose
ARM: EXYNOS: fix exynos_boot_secondary() return value on timeout
...
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod.c')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index 752969ff9de0..d78c12e7cb5e 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c | |||
@@ -3318,16 +3318,17 @@ int omap_hwmod_enable(struct omap_hwmod *oh) | |||
3318 | */ | 3318 | */ |
3319 | int omap_hwmod_idle(struct omap_hwmod *oh) | 3319 | int omap_hwmod_idle(struct omap_hwmod *oh) |
3320 | { | 3320 | { |
3321 | int r; | ||
3321 | unsigned long flags; | 3322 | unsigned long flags; |
3322 | 3323 | ||
3323 | if (!oh) | 3324 | if (!oh) |
3324 | return -EINVAL; | 3325 | return -EINVAL; |
3325 | 3326 | ||
3326 | spin_lock_irqsave(&oh->_lock, flags); | 3327 | spin_lock_irqsave(&oh->_lock, flags); |
3327 | _idle(oh); | 3328 | r = _idle(oh); |
3328 | spin_unlock_irqrestore(&oh->_lock, flags); | 3329 | spin_unlock_irqrestore(&oh->_lock, flags); |
3329 | 3330 | ||
3330 | return 0; | 3331 | return r; |
3331 | } | 3332 | } |
3332 | 3333 | ||
3333 | /** | 3334 | /** |
@@ -3340,16 +3341,17 @@ int omap_hwmod_idle(struct omap_hwmod *oh) | |||
3340 | */ | 3341 | */ |
3341 | int omap_hwmod_shutdown(struct omap_hwmod *oh) | 3342 | int omap_hwmod_shutdown(struct omap_hwmod *oh) |
3342 | { | 3343 | { |
3344 | int r; | ||
3343 | unsigned long flags; | 3345 | unsigned long flags; |
3344 | 3346 | ||
3345 | if (!oh) | 3347 | if (!oh) |
3346 | return -EINVAL; | 3348 | return -EINVAL; |
3347 | 3349 | ||
3348 | spin_lock_irqsave(&oh->_lock, flags); | 3350 | spin_lock_irqsave(&oh->_lock, flags); |
3349 | _shutdown(oh); | 3351 | r = _shutdown(oh); |
3350 | spin_unlock_irqrestore(&oh->_lock, flags); | 3352 | spin_unlock_irqrestore(&oh->_lock, flags); |
3351 | 3353 | ||
3352 | return 0; | 3354 | return r; |
3353 | } | 3355 | } |
3354 | 3356 | ||
3355 | /* | 3357 | /* |