]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: arizona: Correct return value of arizona_is_enabled_fll
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Wed, 9 Jul 2014 16:41:47 +0000 (17:41 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 10 Jul 2014 10:09:15 +0000 (12:09 +0200)
commitc393aca94f26e90290cd861743efbfbcd97c0316
tree3da2bc35c3b8fa9354041a0a607f8cf7f58cbd4b
parent613124ce644c38857ef5780a96e6d400d6b11abd
ASoC: arizona: Correct return value of arizona_is_enabled_fll

arizona_is_enabled_fll currently returns a bool, but can throw an error.
The error will be basically ignored and we will treat the FLL as already
on. This patch changes the return to be an int and adds error code to
propagate the error up to the callback.

Reported-by: Anil Kumar <anil.kumar@wolfsonmicro.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/arizona.c