diff options
author | Tero Kristo <t-kristo@ti.com> | 2020-09-07 11:25:58 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-09-22 13:00:07 -0700 |
commit | cec4a609a88823084bf09cb2cdacda63a363593a (patch) | |
tree | 682695287063726c9a81935309890b19ce49aef9 /drivers/fpga/fpga-mgr.c | |
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>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions