diff options
| author | Chuhong Yuan <hslester96@gmail.com> | 2020-12-03 22:42:27 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-29 13:42:38 +0100 |
| commit | 6ba1ed3141b2a77818cfb38fbb566c5bced77e78 (patch) | |
| tree | 4ad6576c0ba7a44185354e8936f1e1a91cd08539 /drivers/clocksource/arm_arch_timer.c | |
| parent | 72207e5c25444207c3188bde7fc7f892478c4ad8 (diff) | |
ASoC: jz4740-i2s: add missed checks for clk_get()
[ 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: 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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/clocksource/arm_arch_timer.c')
0 files changed, 0 insertions, 0 deletions
