diff options
author | Sudeep Holla | 2023-10-04 20:36:00 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-11-20 11:52:03 +0100 |
commit | 37658e51895846b390343868a7234695b5ac9a43 (patch) | |
tree | 60493fa81fc73c6c2c7a1912bb9779bb6664bae2 /samples/fanotify | |
parent | db6db0af76f52323e7fa00e4aaa4ca2eeff6ae03 (diff) |
clk: scmi: Free scmi_clk allocated when the clocks with invalid info are skipped
[ Upstream commit 3537a75e73f3420614a358d0c8b390ea483cc87d ]
Add the missing devm_kfree() when we skip the clocks with invalid or
missing information from the firmware.
Cc: Cristian Marussi <cristian.marussi@arm.com>
Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: linux-clk@vger.kernel.org
Fixes: 6d6a1d82eaef ("clk: add support for clocks provided by SCMI")
Link: https://lore.kernel.org/r/20231004193600.66232-1-sudeep.holla@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'samples/fanotify')
0 files changed, 0 insertions, 0 deletions