linux/arch/arm/mach-davinci
Christophe JAILLET 95d7c1f18b ARM: davinci: PM: Do not free useful resources in normal path in 'davinci_pm_init'
It is wrong to iounmap resources in the normal path of davinci_pm_init()

The 3 ioremap'ed fields of 'pm_config' can be accessed later on in other
functions, so we should return 'success' instead of unrolling everything.

Fixes: aa9aa1ec2d ("ARM: davinci: PM: rework init, remove platform device")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
[nsekhar@ti.com: commit message and minor style fixes]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2017-05-17 15:25:18 +05:30
..
include/mach ARM: davinci: da850: model the SATA refclk 2017-01-31 20:48:24 +05:30
Kconfig ARM: davinci: make I2C support optional 2016-02-17 19:20:05 +05:30
Makefile ARM: davinci: add skeleton for pdata-quirks 2017-01-23 20:52:38 +05:30
Makefile.boot ARM: davinci: enable da8xx build concurrently with older devices 2014-03-06 19:08:28 +05:30
aemif.c ARM: davinci: aemif: get rid of davinci-nand driver dependency on aemif 2014-02-23 20:33:18 +05:30
asp.h ARM: davinci: devices-da8xx: Add support for McASP2 on da830 2015-03-18 15:52:05 +05:30
board-da830-evm.c ARM: davinci: da830-evm: use gpio descriptor for mmc pins 2016-11-28 14:01:17 +05:30
board-da850-evm.c ARM: SoC platform updates 2017-05-09 09:49:36 -07:00
board-dm355-evm.c ARM: davinci: remove unused davinci-i2s pdata 2016-06-24 15:28:30 +05:30
board-dm355-leopard.c ARM: davinci: fix a problematic usage of WARN() 2015-12-15 15:29:34 +05:30
board-dm365-evm.c ARM: davinci: fix build break because of undeclared dm365_evm_snd_data 2016-07-14 14:44:43 +02:00
board-dm644x-evm.c ARM: davinci: add pata_bk3710 libata driver support 2017-03-30 16:15:29 +05:30
board-dm646x-evm.c ARM: davinci: add pata_bk3710 libata driver support 2017-03-30 16:15:29 +05:30
board-mityomapl138.c mach-davinci cleanup to make it easy to add PM support 2016-11-30 14:45:31 +01:00
board-neuros-osd2.c ARM: davinci: add pata_bk3710 libata driver support 2017-03-30 16:15:29 +05:30
board-omapl138-hawk.c ARM: davinci: Don't rely on public mmc header to include interrupt.h 2017-02-13 13:20:18 +01:00
board-sffsdr.c misc: (at24) move header to linux/platform_data/ 2013-09-30 06:02:34 +02:00
clock.c ARM: davinci: Make __clk_{enable,disable} functions public 2017-01-02 16:10:42 +05:30
clock.h ARM: davinci: Make __clk_{enable,disable} functions public 2017-01-02 16:10:42 +05:30
common.c ARM: davinci: PM: rework init, remove platform device 2016-11-16 14:41:29 +05:30
cp_intc.c ARM: davinci: use IRQCHIP_DECLARE for cp_intc 2016-04-14 12:09:50 +05:30
cp_intc.h ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
cpuidle.c ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
cpuidle.h ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
da8xx-dt.c ARM: davinci: da8xx: add OF_DEV_AUXDATA() for vpif 2017-03-07 16:43:16 +05:30
da830.c ARM: davinci: Add clock for CPPI 4.1 DMA engine 2017-04-11 19:50:53 +05:30
da850.c ARM: davinci: Add clock for CPPI 4.1 DMA engine 2017-04-11 19:50:53 +05:30
davinci.h ARM: davinci: fix build break because of undeclared dm365_evm_snd_data 2016-07-14 14:44:43 +02:00
ddr2.h ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
devices-da8xx.c ARM: davinci: remove BUG_ON() from da850_register_sata() 2017-01-31 20:48:25 +05:30
devices.c ARM: davinci: devices: Remove DMA resources for MMC 2016-10-26 13:42:53 +05:30
dm355.c ARM: davinci: dm355: Remove DMA resources for SPI 2016-10-26 13:42:53 +05:30
dm365.c ARM: davinci: dm365: Remove DMA resources for SPI 2016-10-26 13:42:53 +05:30
dm644x.c ARM: davinci: remove unused davinci-i2s pdata 2016-06-24 15:28:30 +05:30
dm646x.c ARM: davinci: Move clock init after ioremap. 2016-04-27 16:03:49 +05:30
irq.c Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc 2011-07-19 22:10:05 -07:00
mux.c ARM: davinci: davinci_cfg_reg cannot be init 2015-02-18 12:20:25 +01:00
mux.h Davinci: eliminate pinmux offset verbosity 2010-05-06 15:02:09 -07:00
pdata-quirks.c ARM: davinci: add pdata-quirks for da850-evm vpif display 2017-03-07 16:43:19 +05:30
pm.c ARM: davinci: PM: Do not free useful resources in normal path in 'davinci_pm_init' 2017-05-17 15:25:18 +05:30
pm_domain.c arm: davinci: remove boilerplate code and use USE_PM_CLK_RUNTIME_OPS 2015-05-12 23:55:38 +02:00
psc.c ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
psc.h ARM: davinci: da850: add clocks for mcbsp0 and 1 2016-06-10 18:22:41 +05:30
serial.c ARM: davinci: serial.c: remove unused serial_read_reg() 2015-01-14 15:56:12 +05:30
sleep.S ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
sram.c ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
sram.h ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
time.c clocksource: Use a plain u64 instead of cycle_t 2016-12-25 11:04:12 +01:00
usb-da8xx.c ARM: davinci: da8xx: Fix sleeping function called from invalid context 2017-01-02 16:15:07 +05:30
usb.c ARM: davinci: da8xx: move usb code to new file 2016-04-14 15:31:42 +05:30