commit | cb2510dac7e1c5ac77652bb31e8c39ce2eef8bbe | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Sun Jul 19 12:15:17 2015 +0200 |
committer | Mark Brown <broonie@kernel.org> | Mon Jul 20 18:15:28 2015 +0100 |
tree | 76887971aae9262eb5bccc6b78161d51a32ef63e | |
parent | b08b338253e917be45ee19924b58dd0b1265473f [diff] |
ASoC: cs4349: Fix suspend/resume dev_get_drvdata() will not return the snd_soc_runtime to which this CODEC is attached, so the current code will result in undefined behavior. To fix this just use regmap_update_bits(cs4349->regmap, ...) directly instead of snd_soc_update_bits(rtd->codec, ...). Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>