diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-12-28 21:37:59 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-12-28 23:19:36 +0000 |
commit | f578a188e8b21be623b48bb0eb3a92174c2e5b82 (patch) | |
tree | 40526512bffd70b8eb515fdaa213ece5b91bf8f6 /firmware/3com | |
parent | 52ca353bc8597dcc1d6d7abc03eecc1b452d79c9 (diff) | |
download | lwn-f578a188e8b21be623b48bb0eb3a92174c2e5b82.tar.gz lwn-f578a188e8b21be623b48bb0eb3a92174c2e5b82.zip |
ASoC: codecs: wm8904: 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 wm8904 driver still uses its own register cache for its
private functions, while functions from the ASoC core use the generic cache.
Thus we end up with two from each other incoherent caches, which can lead to
undefined behaviour.
This patch fixes the issue by changing the wm8904 driver to use the
generic register cache in its private functions.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: Ian Lartey <ian@opensource.wolfsonmicro.com>
Cc: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org (for 2.6.37 only)
Diffstat (limited to 'firmware/3com')
0 files changed, 0 insertions, 0 deletions