Home
last modified time | relevance | path

Searched hist:c067b46d731a764fc46ecc466c2967088c97089e (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/clk/ingenic/
H A Djz4770-cgu.cdiff c067b46d731a764fc46ecc466c2967088c97089e Thu Feb 13 10:19:51 CST 2020 Paul Cercueil <paul@crapouillou.net> 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>