Skip to content
Commit 8d7313bf authored by Christophe Jaillet's avatar Christophe Jaillet Committed by Mark Brown
Browse files

ASoC: mediatek: Fix an error checking code



Check the value returned by 'devm_clk_get()' instead of the clock
identifier which can never be an ERR code.

Fixes: d6f3710a ("ASoC: mediatek: add structure define and clock control for 2701")
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 5771a8c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment