aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/codecs/nau8540.c
diff options
context:
space:
mode:
authorGravatar Christophe Jaillet <christophe.jaillet@wanadoo.fr> 2017-08-07 02:23:15 +0200
committerGravatar Mark Brown <broonie@kernel.org> 2017-08-07 12:31:57 +0100
commit8d7313bfb1bb7d71a6ebc503215e4fb4a8964741 (patch)
tree71c8b302111653d8391984d8cfd71e6d4bf31003 /sound/soc/codecs/nau8540.c
parentLinux v4.13-rc1 (diff)
downloadlinux-8d7313bfb1bb7d71a6ebc503215e4fb4a8964741.tar.gz
linux-8d7313bfb1bb7d71a6ebc503215e4fb4a8964741.tar.bz2
linux-8d7313bfb1bb7d71a6ebc503215e4fb4a8964741.zip
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: d6f3710a56e1 ("ASoC: mediatek: add structure define and clock control for 2701") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/nau8540.c')
0 files changed, 0 insertions, 0 deletions