diff options
author | Tony Lindgren <tony@atomide.com> | 2019-03-21 19:00:21 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2019-04-01 16:38:37 +0200 |
commit | aaa29bb01cc4bf5a87dbdb219efba3b09f259d8e (patch) | |
tree | 6c272500ee112dfc565e8132ac6d4b5a066e1a91 /Documentation/devicetree/bindings | |
parent | ARM: OMAP2+: Handle reset quirks for dynamically allocated modules (diff) | |
download | linux-aaa29bb01cc4bf5a87dbdb219efba3b09f259d8e.tar.xz linux-aaa29bb01cc4bf5a87dbdb219efba3b09f259d8e.zip |
bus: ti-sysc: Fix sysc_unprepare() when no clocks have been allocated
If we return early before ddata->clocks have been allocated we will get a
NULL pointer dereference in sysc_unprepare(). Let's fix this by returning
early when no clocks are allocated.
Fixes: 0eecc636e5a2 ("bus: ti-sysc: Add minimal TI sysc interconnect target driver")
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'Documentation/devicetree/bindings')
0 files changed, 0 insertions, 0 deletions