summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-09-09 21:08:02 +0100
committerMark Brown <broonie@linaro.org>2014-09-09 21:08:02 +0100
commitde3ac8106815f0129947c78de5b7666ff8748096 (patch)
tree78c8fe5217a7771e47ebbb2976e5fb9bde41d25c
parente649057a41c24b4122e976746649e471709d4b16 (diff)
parenta4f87cea72d78f80c0bda1b4d8a821278eb1e4e2 (diff)
downloadtalos-obmc-linux-de3ac8106815f0129947c78de5b7666ff8748096.tar.gz
talos-obmc-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.c7
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;
}
OpenPOWER on IntegriCloud