hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/arch/mips/bcm63xx/clk.c
....@@ -361,6 +361,8 @@
361361 */
362362 int clk_enable(struct clk *clk)
363363 {
364
+ if (!clk)
365
+ return 0;
364366 mutex_lock(&clocks_mutex);
365367 clk_enable_unlocked(clk);
366368 mutex_unlock(&clocks_mutex);