diff options
| author | Christophe Jaillet <[email protected]> | 2017-09-03 12:29:02 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2017-09-04 12:40:30 +0000 |
| commit | 6431a7e36652517df82855ee79c8240001812a55 (patch) | |
| tree | 1d54c3d79cdb38d9304f92e4c148a202e4a7426f /net/unix/af_unix.c | |
| parent | ASoC: s3c24xx_uda134x: Remove unnecessary function call (diff) | |
| download | kernel-6431a7e36652517df82855ee79c8240001812a55.tar.gz kernel-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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
