diff options
author | Daniel Mack | 2010-02-26 07:36:54 +0100 |
---|---|---|
committer | Mark Brown | 2010-03-03 20:19:36 +0100 |
commit | e555317c083fda01f516d2153589e82514e20e70 (patch) | |
tree | 1f1ce47dbf97b22b41560295da81d263c052132c /sound/core/pcm_timer.c | |
parent | ASoC: soc_pcm_open: Add missing bailout tag (diff) | |
download | kernel-qcow2-linux-e555317c083fda01f516d2153589e82514e20e70.tar.gz kernel-qcow2-linux-e555317c083fda01f516d2153589e82514e20e70.tar.xz kernel-qcow2-linux-e555317c083fda01f516d2153589e82514e20e70.zip |
ASoC: fix ak4104 register array access
Don't touch the variable 'reg' to construct the value for the actual SPI
transport. This variable is again used to access the driver's register
cache, and so random memory is overwritten.
Compute the value in-place instead.
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Cc: stable@kernel.org
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/core/pcm_timer.c')
0 files changed, 0 insertions, 0 deletions