diff options
author | Mark Brown <broonie@linaro.org> | 2014-09-09 21:08:02 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-09-09 21:08:02 +0100 |
commit | de3ac8106815f0129947c78de5b7666ff8748096 (patch) | |
tree | 78c8fe5217a7771e47ebbb2976e5fb9bde41d25c | |
parent | e649057a41c24b4122e976746649e471709d4b16 (diff) | |
parent | a4f87cea72d78f80c0bda1b4d8a821278eb1e4e2 (diff) | |
download | blackbird-op-linux-de3ac8106815f0129947c78de5b7666ff8748096.tar.gz blackbird-op-linux-de3ac8106815f0129947c78de5b7666ff8748096.zip |
Merge branch 'topic/cs42l56' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-suspend
-rw-r--r-- | sound/soc/codecs/cs42l56.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sound/soc/codecs/cs42l56.c b/sound/soc/codecs/cs42l56.c index c766a5a9ce80..bb74dd17fa26 100644 --- a/sound/soc/codecs/cs42l56.c +++ b/sound/soc/codecs/cs42l56.c @@ -171,9 +171,9 @@ static bool cs42l56_volatile_register(struct device *dev, unsigned int reg) { switch (reg) { case CS42L56_INT_STATUS: - return 1; + return true; default: - return 0; + return false; } } @@ -1175,11 +1175,8 @@ static int cs42l56_probe(struct snd_soc_codec *codec) static int cs42l56_remove(struct snd_soc_codec *codec) { - struct cs42l56_private *cs42l56 = snd_soc_codec_get_drvdata(codec); - cs42l56_free_beep(codec); cs42l56_set_bias_level(codec, SND_SOC_BIAS_OFF); - regulator_bulk_free(ARRAY_SIZE(cs42l56->supplies), cs42l56->supplies); return 0; } |