diff options
author | Paul Cercueil <paul@crapouillou.net> | 2020-02-13 17:19:51 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-03-21 01:08:40 +0100 |
commit | c067b46d731a764fc46ecc466c2967088c97089e (patch) | |
tree | 4226d72b4780fb0688ec26f4a186b1dae7329bce /sound/soc/soc-compress.c | |
parent | clk: JZ4780: Add function for enable the second core. (diff) | |
download | linux-c067b46d731a764fc46ecc466c2967088c97089e.tar.xz linux-c067b46d731a764fc46ecc466c2967088c97089e.zip |
clk: ingenic/jz4770: Exit with error if CGU init failed
Exit jz4770_cgu_init() if the 'cgu' pointer we get is NULL, since the
pointer is passed as argument to functions later on.
Fixes: 7a01c19007ad ("clk: Add Ingenic jz4770 CGU driver")
Cc: stable@vger.kernel.org
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reported-by: kbuild test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lkml.kernel.org/r/20200213161952.37460-1-paul@crapouillou.net
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'sound/soc/soc-compress.c')
0 files changed, 0 insertions, 0 deletions