commit | 1c1fb2653a0c2e3f310c07eacd8fc3a10e08c97a | [log] [tgz] |
---|---|---|
author | Chuhong Yuan <hslester96@gmail.com> | Thu Dec 03 22:42:27 2020 +0800 |
committer | Mark Brown <broonie@kernel.org> | Fri Dec 04 17:46:06 2020 +0000 |
tree | da461431c6e4e2d0c8713c8da3965f9a39af2a70 | |
parent | 0d7f2459ae926a964ab211aac413d72074131727 [diff] |
ASoC: jz4740-i2s: add missed checks for clk_get() 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: 11bd3dd1b7c2 ("ASoC: Add JZ4740 ASoC support") Signed-off-by: Chuhong Yuan <hslester96@gmail.com> Link: https://lore.kernel.org/r/20201203144227.418194-1-hslester96@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>