diff options
author | Christophe Jaillet | 2017-09-03 14:29:02 +0200 |
---|---|---|
committer | Mark Brown | 2017-09-04 14:40:30 +0200 |
commit | 6431a7e36652517df82855ee79c8240001812a55 (patch) | |
tree | 1d54c3d79cdb38d9304f92e4c148a202e4a7426f /tools/perf/builtin-script.c | |
parent | ASoC: s3c24xx_uda134x: Remove unnecessary function call (diff) | |
download | kernel-qcow2-linux-6431a7e36652517df82855ee79c8240001812a55.tar.gz kernel-qcow2-linux-6431a7e36652517df82855ee79c8240001812a55.tar.xz kernel-qcow2-linux-6431a7e36652517df82855ee79c8240001812a55.zip |
ASoC: samsung: i2s: Fix error handling path in i2s_set_sysclk()
If 'clk_prepare_enable()' fails, we must 'put' the corresponding clock.
Othewise, there is a resource leak.
Fixes: f5c97c7b0438 ("ASoC: samsung: i2s: Handle return value of clk_prepare_enable.")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions