diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-02-22 18:27:17 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-23 10:48:55 +0900 |
commit | 70ff00f82a6af0ff68f8f7b411738634ce2f20d0 (patch) | |
tree | 0f443c6417f5ccc108af7f7be4c3290fda192669 /sound/core/pcm_misc.c | |
parent | 025c3fa9256d4c54506b7a29dc3befac54f5c68d (diff) |
ASoC: sta32x: Fix cache sync
codec->control_data contains a pointer to the regmap struct of the device, not
to the device private data. Use snd_soc_codec_get_drvdata() instead.
The issue was introduced in commit 29fdf4fbbe ("ASoC: sta32x: Convert to
regmap").
Fixes: 29fdf4fbbe (ASoC: sta32x: Convert to regmap)
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'sound/core/pcm_misc.c')
0 files changed, 0 insertions, 0 deletions