Skip to content
Commit 3ad7b4e8 authored by Yu Kuai's avatar Yu Kuai Committed by Dinh Nguyen
Browse files

ARM: socfpga: PM: add missing put_device() call in socfpga_setup_ocram_self_refresh()



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

Fixes: 44fd8c7d ("ARM: socfpga: support suspend to ram")
Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
parent 812f5501
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