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
---
I'm not 100% confident in this
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
---
I'm not 100% confident in this patch.
It is mostly inspired by
2 matches
Mail list logo