Re: [PATCH] ARM: socfpga: PM: add missing put_device() call in socfpga_setup_ocram_self_refresh()

2020-07-28 Thread Dinh Nguyen
On 7/21/20 8:45 AM, Yu Kuai wrote: > 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: 44fd8c7d4005 ("ARM: socfpga: support

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

2020-07-21 Thread Yu Kuai
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: 44fd8c7d4005 ("ARM: socfpga: support suspend to ram") Signed-off-by: Yu Kuai ---