[ Upstream commit 1c1fb2653a0c2e3f310c07eacd8fc3a10e08c97a ]
jz4740_i2s_set_sysclk() does not check the return values of clk_get(),
while the file dereferences the pointers in clk_put().
Add the missed checks to fix it.
Fixes:
|
||
---|---|---|
.. | ||
jz4740-i2s.c | ||
jz4740-i2s.h | ||
Kconfig | ||
Makefile |