]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ARM: imx6: add missing put_device() call in imx6q_suspend_init()
authoryu kuai <yukuai3@huawei.com>
Thu, 4 Jun 2020 12:54:49 +0000 (20:54 +0800)
committerShawn Guo <shawnguo@kernel.org>
Wed, 24 Jun 2020 01:25:39 +0000 (09:25 +0800)
commit4845446036fc9c13f43b54a65c9b757c14f5141b
tree84d530b5c3ede48f9633adb5b0641d73be1c8078
parent586745f1598ccf71b0a5a6df2222dee0a865954e
ARM: imx6: add missing put_device() call in imx6q_suspend_init()

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

Signed-off-by: yu kuai <yukuai3@huawei.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/pm-imx6.c