]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: rt5682: Return devm_of_clk_add_hw_provider to transfer the error
authorMa Ke <make24@iscas.ac.cn>
Fri, 30 Aug 2024 14:31:54 +0000 (22:31 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:33:26 +0000 (16:33 +0200)
commitbc4a33eb74f60e0f29128ac05aca1fe9c9a4c89b
tree482793f8c6a447faedd20ee6093b595dc6161ef9
parent832653dc7222922b6b73d8bcd731e2f55ac683c7
ASoC: rt5682: Return devm_of_clk_add_hw_provider to transfer the error

commit fcca6d05ef49d5650514ea1dcfd12e4ae3ff2be6 upstream.

Return devm_of_clk_add_hw_provider() in order to transfer the error, if it
fails due to resource allocation failure or device tree clock provider
registration failure.

Cc: stable@vger.kernel.org
Fixes: ebbfabc16d23 ("ASoC: rt5682: Add CCF usage for providing I2S clks")
Signed-off-by: Ma Ke <make24@iscas.ac.cn>
Link: https://patch.msgid.link/20240830143154.3448004-1-make24@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/rt5682.c