diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-12-18 11:22:41 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-01-09 10:35:37 -0800 |
commit | d39eca547f3ec67140a5d765a426eb157b978a59 (patch) | |
tree | 605cf569b96b9f0bff791f50831c61d619ec76f6 /drivers/clk/clk-oxnas.c | |
parent | 48504619a65977fb2a4c7182eab637867f1e6548 (diff) | |
download | talos-op-linux-d39eca547f3ec67140a5d765a426eb157b978a59.tar.gz talos-op-linux-d39eca547f3ec67140a5d765a426eb157b978a59.zip |
clk: tegra: dfll: Fix a potential Oop in remove()
If tegra_dfll_unregister() fails then "soc" is an error pointer. We
should just return instead of dereferencing it.
Fixes: 1752c9ee23fb ("clk: tegra: dfll: Fix drvdata overwriting issue")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/clk-oxnas.c')
0 files changed, 0 insertions, 0 deletions