[Linux-stable-mirror] [PATCH AUTOSEL for 4.9 36/49] clk: fix a panic error caused by accessing NULL pointer