Home
last modified time | relevance | path

Searched hist:"855 ae87a" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/clk/imx/
H A Dclk-scu.c855ae87a Tue Sep 13 22:32:06 CDT 2022 Lin Yujun <linyujun809@huawei.com> clk: imx: scu: fix memleak on platform_device_add() fails

No error handling is performed when platform_device_add()
fails. Add error processing before return, and modified
the return value.

Fixes: 77d8f3068c63 ("clk: imx: scu: add two cells binding support")
Signed-off-by: Lin Yujun <linyujun809@huawei.com>
Link: https://lore.kernel.org/r/20220914033206.98046-1-linyujun809@huawei.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>