Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9634cd8e authored by yu kuai's avatar yu kuai Committed by Greg Kroah-Hartman
Browse files

ARM: imx6: add missing put_device() call in imx6q_suspend_init()



[ Upstream commit 4845446036fc9c13f43b54a65c9b757c14f5141b ]

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: default avataryu kuai <yukuai3@huawei.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 38bcc785
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment