diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-12-28 21:38:03 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-12-28 23:22:37 +0000 |
commit | 776065e36de1d5eb9e33ff908352fef4050ab38d (patch) | |
tree | 72251b08da56728d86d6fa406f42d2271a9724c3 /sound/soc/codecs/wm8904.c | |
parent | da280f51d0b341282b4181eb3235f774b0446584 (diff) | |
download | linux-776065e36de1d5eb9e33ff908352fef4050ab38d.tar.gz linux-776065e36de1d5eb9e33ff908352fef4050ab38d.tar.bz2 linux-776065e36de1d5eb9e33ff908352fef4050ab38d.zip |
ASoC: codecs: wm8753: Fix register cache incoherency
The multi-component patch(commit f0fba2ad1) moved the allocation of the
register cache from the driver to the ASoC core. Most drivers where adjusted to
this, but the wm8753 driver still uses its own register cache for its
private functions, while functions from the ASoC core use the generic cache.
Furthermore the generic cache uses zero-based numbering while the wm8753 cache
uses one-based numbering.
Thus we end up with two from each other incoherent caches, which leads to undefined
behaviour and crashes.
This patch fixes the issue by changing the wm8753 driver to use the generic
register cache in its private functions.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8904.c')
0 files changed, 0 insertions, 0 deletions