[alsa-devel] [PATCH] ALSA: ASoC: fix ak4104 register array access
broonie at opensource.wolfsonmicro.com
Wed Mar 3 20:19:24 CET 2010
On Fri, Feb 26, 2010 at 02:36:54PM +0800, Daniel Mack wrote:
> 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 at caiaq.de>
> Cc: Mark Brown <broonie at opensource.wolfsonmicro.com>
> Cc: stable at kernel.org
Applied, thanks. Please CC Liam on ASoC commits.
More information about the Alsa-devel