diff options
author | Christophe Jaillet <christophe.jaillet@wanadoo.fr> | 2017-09-03 14:29:02 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-09-04 13:40:30 +0100 |
commit | 6431a7e36652517df82855ee79c8240001812a55 (patch) | |
tree | 1d54c3d79cdb38d9304f92e4c148a202e4a7426f /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 1107a293b7c33723ace2a8d18f5c6febcd576d7a (diff) |
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/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions