diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-07-19 13:15:17 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-20 20:15:28 +0300 |
commit | cb2510dac7e1c5ac77652bb31e8c39ce2eef8bbe (patch) | |
tree | 76887971aae9262eb5bccc6b78161d51a32ef63e /drivers/pinctrl | |
parent | b08b338253e917be45ee19924b58dd0b1265473f (diff) | |
download | linux-cb2510dac7e1c5ac77652bb31e8c39ce2eef8bbe.tar.xz |
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>
Diffstat (limited to 'drivers/pinctrl')
0 files changed, 0 insertions, 0 deletions