linux-stable/arch/arm/mach-at91
yu kuai ce5a8ad3ad ARM: at91: pm: add missing put_device() call in at91_pm_sram_init()
[ Upstream commit f87a4f022c ]

if of_find_device_by_node() succeed, at91_pm_sram_init() doesn't have
a corresponding put_device(). Thus add a jump target to fix the exception
handling for this function implementation.

Fixes: d2e4679055 ("ARM: at91: pm: use the mmio-sram pool to access SRAM")
Signed-off-by: yu kuai <yukuai3@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20200604123301.3905837-1-yukuai3@huawei.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-08-21 09:48:04 +02:00
..
at91rm9200.c ARM: at91: move SoC detection to its own driver 2017-03-31 20:36:10 +02:00
at91sam9.c ARM: at91: move SoC detection to its own driver 2017-03-31 20:36:10 +02:00
generic.h ARM: at91: pm: Add sama5d2 backup mode 2017-05-15 11:55:17 +02:00
Kconfig The diff is dominated by the Allwinner A10/A20 SoCs getting converted to 2017-09-13 11:04:14 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile.boot ARM: at91: Add armv7m support 2017-06-02 10:11:38 +02:00
pm.c ARM: at91: pm: add missing put_device() call in at91_pm_sram_init() 2020-08-21 09:48:04 +02:00
pm.h ARM: at91: pm: allow selecting standby and suspend modes 2017-05-15 11:55:24 +02:00
pm_data-offsets.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pm_suspend.S ARM: at91: pm: Add sama5d2 backup mode 2017-05-15 11:55:17 +02:00
sama5.c ARM: at91: pm: Add sama5d2 backup mode 2017-05-15 11:55:17 +02:00
samv7.c ARM: at91: fix at91_suspend_entering_slow_clock link error 2017-06-13 11:51:11 +02:00