commit | 6431a7e36652517df82855ee79c8240001812a55 | [log] [tgz] |
---|---|---|
author | Christophe Jaillet <christophe.jaillet@wanadoo.fr> | Sun Sep 03 14:29:02 2017 +0200 |
committer | Mark Brown <broonie@kernel.org> | Mon Sep 04 13:40:30 2017 +0100 |
tree | 1d54c3d79cdb38d9304f92e4c148a202e4a7426f | |
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>