From: Daniel Mack Date: Fri, 26 Feb 2010 06:36:54 +0000 (+0800) Subject: ASoC: fix ak4104 register array access X-Git-Tag: v2.6.34-rc1~3^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e555317c083fda01f516d2153589e82514e20e70;p=pandora-kernel.git 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 Acked-by: Liam Girdwood Cc: stable@kernel.org Signed-off-by: Mark Brown --- Reading git-diff-tree failed