mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
clk: Don't try to use a struct clk* after it could have been freed
commit10cdfe54daupstream. As __clk_release could call kfree on clk and then we wouldn't have a safe way of getting the module that owns the clock. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Fixes:fcb0ee6a3d("clk: Implement clk_unregister") Reviewed-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Michael Turquette <mturquette@linaro.org> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
parent
e3c75d412b
commit
cf211fafaa
1 changed files with 4 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue