commit | cec4a609a88823084bf09cb2cdacda63a363593a | [log] [tgz] |
---|---|---|
author | Tero Kristo <t-kristo@ti.com> | Mon Sep 07 11:25:58 2020 +0300 |
committer | Stephen Boyd <sboyd@kernel.org> | Tue Sep 22 13:00:07 2020 -0700 |
tree | 682695287063726c9a81935309890b19ce49aef9 | |
parent | 4630ef134e41389a7170b05790c0ddcd88977b01 [diff] |
clk: ti: autoidle: add checks against NULL pointer reference The clk pointer passed to omap2_clk_(deny|allow)_idle can be NULL, so add checks for this. Reported-by: Dan Murphy <dmurphy@ti.com> Signed-off-by: Tero Kristo <t-kristo@ti.com> Link: https://lore.kernel.org/r/20200907082600.454-2-t-kristo@ti.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>