diff options
author | 2015-07-19 12:15:17 +0200 | |
---|---|---|
committer | 2015-07-20 18:15:28 +0100 | |
commit | cb2510dac7e1c5ac77652bb31e8c39ce2eef8bbe (patch) | |
tree | 76887971aae9262eb5bccc6b78161d51a32ef63e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ASoC: cs4349: Constify cs4349_regmap (diff) | |
download | linux-dev-cb2510dac7e1c5ac77652bb31e8c39ce2eef8bbe.tar.xz linux-dev-cb2510dac7e1c5ac77652bb31e8c39ce2eef8bbe.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions